Google News
logo
C-Language - Interview Questions
What is Enumeration In C Language ?
Enumeration data type used to symbolize a list of constants with valid meaningful names, so that, it makes the program easy to read and modify. Enumeration has advantage of generating the values automatically for given list of names. Keyword enum is used to define enumerated data type.

Syntax : 
  enum type_name
  { 
   value1, value2... valueN 
   };
Advertisement