c programming

4 The following code fragment struct student { string name; double gpa; }; student thisStudent; cout << “Enter this student’s name: “ << flush; cin >> thisStudent.name; cout << “Enter this student’s GPA: “ << flush; cin >> thisStudent.gpa; student nextStudent = thisStudent;

A. copies both thisStudent’s name and gpa to nextStudent.

B. displays the name and gpa of thisStudent.

C. causes a compiler error.

D. causes a run-time error.

 

Get a Custom & Original Paper Today.

Use our Cheap Academic Essay service for guaranteed success!