what are enumerated types in c?
Enumeration is a user defined datatype in C language. It is used to assign names to the integral constants which makes a program easy to read and maintain. The keyword “enum” is used to declare an enumeration. ... enum enum_name{const1, const2, ....... }; The enum keyword is also used to define the variables of enum type.