Which of the following statements outputs the value of the gpa member of element [1] of the student array?
A) cout << student1.gpa;
B) cout << firstStudent.gpa;
C) cout << student[1].gpa;
D) cout << student1->gpa;
E) None of these
Correct Answer:
Verified
Q20: The structure pointer operator is used to
Q21: If Circle is a structure, what does
Q22: If a is a structure variable and
Q23: Which of the following assigns a value
Q24: With an enumerated data type, the enumerators
Q26: A structure _ contain members of the
Q27: The following statement _. bookList[2].publisher[3] = 't';
A)
Q28: When a structure is passed _ to
Q29: Data types that are created by the
Q30: To dereference a structure pointer, the appropriate
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents