Define enumeration in c plus plus?
Answers
Answered by
0
Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain.
The keyword ‘enum’ is used to declare new enumeration types in C and C++. Following is an example of enum declaration.
The keyword ‘enum’ is used to declare new enumeration types in C and C++. Following is an example of enum declaration.
Similar questions