Question: in c Q4- a) Write a program named hw4q4.c to create a dynamic array of structures defined as: struct studentf char name; int id; double

 in c Q4- a) Write a program named "hw4q4.c" to create

in c

Q4- a) Write a program named "hw4q4.c" to create a dynamic array of structures defined as: struct studentf char name; int id; double mark) the program should create an empty array then give a menu to do the following: Add student: ask the user to add the student information, then use "realloc" function to add it to the end of the array 1. 2. Print all: print all student details each in a line from top to bottom of the array 3. Delete student: delete the first student from the array using "realloc" function. 4. Exit: deallocate the array and terminate the program. 'struct student"dynamic create one child process

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!