Question: 6. a. Declare a studenti variable of type Student (10) b. Assign John to the student 1 name field, 4.0 to the s student1 year
6. a. Declare a studenti variable of type Student (10) b. Assign John to the student 1 name field, 4.0 to the s student1 year field tudent1 goa flield and 2018 to the 8 a. Declare and array of 10 elements storing Student data called studentinfoArray (10) b. Write a for loop to ask the user to input the data for all 10 structs in the studentinfoArray (10) 9.a. Declare a pointer to a Student stuct (no array- just one element) b. Allocate memory for the Student struct of 9a, then assign Mary to the name, 3.7 to the gpa 2018 to the year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
