1 The values of an enumeration type cannot be output directly to the standard ou
ID: 3625517 • Letter: 1
Question
1 The values of an enumeration type cannot be output directly to the standard output device.True
False
2 It is legal to concatenate two string literals, such as "abc" and "def".
True
False
3 When determining the length of a string, embedded blank spaces are ignored.
True
False
4 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. TOYOTA
b. FORD
c. HONDA
d. GM
5 The length of the string "Hello There. " is ____.
a. 11
b. 12
c. 13
d. 14
Explanation / Answer
1 The values of an enumeration type cannot be output directly to the standard ou
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.