Question: C programming Define a structure called Student that has an id of type integer, gpa of type double and gender of type character. Declare an
C programming

Define a structure called Student that has an id of type integer, gpa of type double and gender of type character. Declare an array of 10 Students. Declare two variables of type Student. Declare two pointers of type Student. Write the addresses of the two variables in each of the pointers. Use the pointers and read values from the keyboard to populate the two variables. Write a function and pass the array to it and populate the fields of each item in the array. Call this function in main. Write the function prototype as well
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
