data structures using printf("\ ********student' details *******")printf("\ roll no % "stud roll_no)printf("\ name % "stud name)printf("\ fees % "stud fees)printf("\ dob % % % "stud date daystud date monthstud date year)getch()return output enter the roll number enter the name rahul enter the fees enter the dob ********student' details ******roll no name rahul fees dob arrays of structures in the above exampleswe have seen how to declare structure and assign values to its data members nowwe will discuss how an array of structures is declared for this purposelet us first analyse where we would need an array of structures in classwe do not have just one student but there may be at least students sothe same definition of the structure can be used for all the students this would be possible when we make an array of structures an array of structures is declared in the same way as we declare an array of built-in data type another example where an array of structures is desirable is in case of an organization an organization has number of employees sodefining separate structure for every employee is not viable solution sohere we can have common structure definition for all the employees this can again be done by declaring an array of structure employee the general syntax for declaring an array of structures can be given asstruct struct_name data_type member_name data_type member_name data_type member_name }struct struct_name struct_var[index]consider the given structure definition struct student int r_nochar name[ ]char course[ ]float fees} student array can be declared by writingstruct student stud[ ]nowto assign values to the ith student of the classwe will write stud[ir_no stud[iname "rashi"