[C++11] Which of the following statements about scoped enumerations is false?
A) A scoped enumeration is introduced by the keywords enum class, followed by a type name and a set of identifiers representing integer constants.
B) The identifiers in an enum class must be unique, but separate enumeration constants can have the same integer value.
C) By convention, you should capitalize the first letter of an enum class's name.
D) To reference a scoped enum constant, you must qualify the constant with the scoped enum's type name and the scope-resolution operator (:) , as in MaritalStatus:SINGLE.
Correct Answer:
Verified
Q12: All of the following are true of
Q13: Which of the following is not included
Q14: Converting from type _ to type _
Q15: A function prototype can always be omitted
Q16: Using the following function definition, the parameter
Q18: Enumeration constants:
A) Must have unique integer values.
B)
Q19: In the expression n = x +
Q20: The argument list of a function call
Q21: A reference parameter:
A) Is an alias for
Q22: Overloaded functions must have:
A) Different parameter lists.
B)
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