Quiz on C++ Enumeration



1. What is an enumeration in C++?
2. How do you declare an enumeration in C++?
3. What is the default value assigned to the first enumerator?
4. Can enumerators in C++ have specific integer values?
5. What is the scope of enumerators declared within an enumeration?

Advertisements