Question

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.

Answer

This answer is hidden. It contains 239 characters.