Join Regular Classroom : Visit ClassroomTech

enumeration in c

Usage of enum in C

Enumeration is a user defined datatype in C language. It is used to:1. Assign names to the integral constants.2. Makes a program easy to read and maintain program readability and better debugging capability..3. Enum has a great choice for using as flag.4. In enum, variables are automatically assigned with a key value starting from 0. Let’s see an example Output: […]

Usage of enum in C Read More »