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...

The function that accepts a C-string containing a number as its argument and returns the integer equivalent is

a. strToInt b. itoa c. atoi d. int_from e. None of these

Computer Science & Information Technology

In a(n)________ chat, someone screens all content

Fill in the blank(s) with correct word

Computer Science & Information Technology

Outline view displays the overall hierarchy of parts in a document

Indicate whether the statement is true or false

Computer Science & Information Technology

Both document.write() and window.alert() are examples of ____.

A. functions B. methods C. arrays D. events

Computer Science & Information Technology