what are enumerations in C



what are enumerations in C..

Answer / Jyoti Dixit

"Enumerations in C are a way to give names to integer constants. They help improve readability by making the code more descriptive. Enumeration constants have integer values and are automatically incremented if no explicit value is provided."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


What is the difference between test design and test case design?

1 Answers  


disadvantages of realloc ?

1 Answers   HCL,


Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

0 Answers   XYZ,


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1 Answers   Expedia,


what are bit fields in c?

3 Answers  


write a program to insert an element at the specified position in the given array in c language

5 Answers   Appin, IBM,


What is the purpose of sprintf() function?

1 Answers  


What is a union?

1 Answers  


Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack

3 Answers  


what is the difference between embedded c and turbo c ?

1 Answers  


How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

1 Answers   HCL,


Categories