Posts Tagged ‘enum’

Enumeration Types and enum in C++

Written by Ali. Posted in C++

enum in c++

Enumeration in C is a convenience feature added to make coding easy. By use of enumeration, or more appropriately enum, a lot of hassle is simplified and code can be made easier to understand. Enum is a user-defined type used to store set of named constants called as enumerators. enum is a reserved keyword in C .