write:x.sage); printf(“ the student name is %s ” x.sname); getch(); } 9. Nested Structure: The technique of placing one structure variable as a member of anther structure is called

x.sage); printf(“
the student name is %s ”
x.sname); getch(); } 9. Nested Structure: The technique of placing one structure variable as a member of anther structure is called “nested structure” or “structure with in structure” Program: #include #include struct Student { int sno; flaot sage; char sname[10]; struct Marks { }x; }y; int m; int p; int c; void main() { clrscr(); printf(“
enter student number”); scanf(“%d”
&x.sno); printf(“
enter student age”); scanf(“%f”
&x.sage); printf(“
enter student name”); scanf(“%s”
&x.sname); printf(“
enter Maths marks”); scanf(“%d”
&x.y.m); printf(“
enter Physics marks”); scanf(“%d”
&x.y.p); printf(“
enter Computers marks”); scanf(“%d”
&x.y.c); printf(“
the student number is %d ”
x.sno); printf(“
the student ahe is %f ”
x.sage); printf(“
the student name is %s ”
x.sname); printf(“
the Maths marks is %d ”
x.y.m); printf(“
the Physics marks is %d ”
x.y.p); printf(“
the Computers marks is %d ”
x.y.c); getch();} 10. Array of Structures :Declaring an array of structure is same as declaring an array of fundamental types. Since an array is a collection of elements of the same type. In an array of structures
each element of an array is of the structure type.

 

Are you looking for This or a Similiar Assignment? 

From essays to dissertations, term papers to thesis projects, our expert team can handle all types of assignments with utmost precision and expertise. No matter the subject or complexity, we are here to provide you with top-quality work tailored to your needs. Your success is our mission.

Click here to ▼ Order NOW