Solved

Suppose That You Have the Following Declaration

Question 36

Multiple Choice

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


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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions