Solved

[C++11] Which of the Following Statements About Scoped Enumerations Is

Question 17

Multiple Choice

[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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents