[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.
Correct Answer:
Verified
Q32: In regards to default arguments, which of
Q33: The inline keyword:
A) Increases function-call overhead.
B) Can
Q34: Type-safe linkage is ensured by:
A) Name mangling.
B)
Q35: Which of the following statements creates a
Q36: Which of the following is true of
Q38: Which of the following is false?
A) An
Q39: What happens when two blocks, one nested
Q40: Which of the following does the C++
Q41: Recursion is memory-intensive because:
A) Recursive functions tend
Q42: What value does function mystery return when
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents