An array called carList contains elements of struct type car which has components model, year and price. Which of the following will reference the year of the third car?

a) carList[2].car.year
b) car[2].year
c) carList.year[2]
d) carList[2].year


d) carList[2].year

Computer Science & Information Technology

You might also like to view...

The _________________________ architecture enables LUNs to be implemented across different disk types.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

How are private member variables in a class accessed?

A. Through private functions. B. Through public functions. C. The variable is private so is not available. D. A and B.

Computer Science & Information Technology

A(n) __________ is thrown when a server address indicated by a client cannot be resolved.

a. ConnectException. b. ServerException. c. MalformedURLException. d. UnknownHostException.

Computer Science & Information Technology

Which of the following is not a valid compression file extension for the Linux operating system?

A. .vz B. .xz C. .gz D. .bz2

Computer Science & Information Technology