Enumeration in C++

Enumeration (or enum) is a user defined data type in C and C++. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/enumeration-cpp/