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


c. cout << student[1].gpa;

Computer Science & Information Technology

You might also like to view...

Plot spectral densities of the adjacency matrices for the following networks: (i) US Air-97 and (ii) CPAN [13]. Details on these networks can be found in Section 5.3. Comment on the types of the networks based on the shape of their spectral densities.

What will be an ideal response?

Computer Science & Information Technology

What protocol must be supported by routers in order to utilize Remote Assistance Easy Connect?

A. SMTP B. PNRP C. SNMP D. LDAP

Computer Science & Information Technology

If a business manager wants to filter through a database with a series of repeating commands, she should use a form

Indicate whether the statement is true or false

Computer Science & Information Technology

The + metacharacter modifier is used to set up pattern matches of one or more instances of the preceding character.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology