Computer Science, asked by nikkubhairam9162, 1 year ago

Define enumeration in c plus plus?

Answers

Answered by angel77777
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.

Similar questions