Saved Bookmarks
| 1. |
Consider the following code segment. struct student { int rollno; char name[20]; struct date { int day; int month; int year; } birthday; char batch[30]; int score; } Write valid statements in C++ to accept the name and date of birth of a student. |
|
Answer» gets(S1 .name); S1.birthday.day=25; S1.birthday.month=5; S1.birthday. year=1991; |
|