Given the following code fragment, what is the data type of roster[9] .name? struct student { string name; double gpa; }; student thisStudent; student roster[50]; string const pointer to student student double

Respuesta :

roster[50] is an array of "students", so roster[9] is a "student". Therefore, roster[9].name is a string.

Otras preguntas