Question: struct nameType struct courseType struct studentType string first; string last; string name; int cal1Num; int credits; char grade; nameType name double gpa; courseType course; studentType

struct nameType struct courseType struct studentType string first; string last; string name; int cal1Num; int credits; char grade; nameType name double gpa; courseType course; studentType student; studentType classList [100] courseType course; nameType name; Mark the following statements as valid or invalid. If a statement is invalid, eplain why. a. student.course.cal1Num-"CSC230" b. cin >> student.name; classList[0] name ; d. classlist[1].gpa- 3.45; e. name- classList[15].name; student. name = name; g. cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
