Suppose that you have the following declaration.enum cars {FORD, GM, TOYOTA, HONDA};cars domesticCars = FORD;The statement:domesticCars = static_cast(domesticCars + 1);sets the value of domesticCars to ____.

A. FORD
B. GM
C. TOYOTA
D. HONDA


Answer: B

Computer Science & Information Technology

You might also like to view...

Related to IT, the acceptable use policy outlines which of the following? (Select all that apply.)

a. Network b. Break time c. Annual leave d. Internet e. Use of computer equipment

Computer Science & Information Technology

There are three primary methods for creating a report

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following would NOT be an advantage of telecommuting?

A) It can reduce traffic congestion and reduce dependence upon foreign oil. B) Friends and family can cause distractions. C) It can reduce company overhead for parking and office space. D) It provides flexibility for parents and caregivers to deal with the needs of family members.

Computer Science & Information Technology

Which hexadecimal number has the greater value?

A) 10 B) C5 C) 9F D) 47 E) AE

Computer Science & Information Technology