[C++11]—Which of the following statements is false?
a. An enumeration’s constants have integer values.
b. An unscoped enum’s underlying type is independent of its constants’ values but is guaranteed to be large enough
to store those values.
c. A scoped enum’s underlying integral type is int, but you can specify a different type by following the type name
with a colon (:) and the integral type. For example, we can specify that the constants in the enum class Status should
have type unsigned int, as in
enum class Status : unsigned int {CONTINUE, WON, LOST};
d. A compilation error occurs if an enum constant’s value is outside the range that can be represented by the enum’s
underlying type.
b. An unscoped enum’s underlying type is independent of its constants’ values but is guaranteed to be large enough
to store those values.
You might also like to view...
An exception object’s ________ method returns the exception’s error message.
a. String b. Message c. Error d. toString
The "less than or equal to" comparison operator in Java is __________.
a. < b. <= c. =< d. << e. !=
Which interior intrusion detection system (IIDS) sensor uses heat radiation to detect intruders?
a. Ultrasonic. b. Microwave. c. Passive infrared. d. Dual-phenomenology.
Menu commands can be used to increase or decrease selections made with tools.
Answer the following statement true (T) or false (F)