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 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
Get step-by-step solutions from verified subject matter experts
