Question: Solved it in c progrmming language. B) Write a structure to store the roll no., name, and age (between 10 to 20) of a student.

 Solved it in c progrmming language. B) Write a structure to

Solved it in c progrmming language.

B) Write a structure to store the roll no., name, and age (between 10 to 20) of a student. Declare an array of student structure of size 10.Store the information of say 2 students in an array. 1 - Print the names of all the students having age 14. 2 - Write another function to display the details of the student whose roll no. is given (i.e. roll no. entered by the user). 3 - Write a function to insert information about a new student in the array. 4- Insert one new student in the array by making a function call from main() and display updated array content. Note: You may choose to use global variables, or you may pass the array of structure as function argument. To have array of structure as argument, you may have the following prototype: void arr_stu(struct student info[], size); Function call : arr_stu(list, size)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!