enum day = { jan = 1 ,feb=4, april, may}
what is the value of may?
a)4 b)5 c)6 d)11
e)none of the above

Answer Posted / bhavani

ans:6
becz feb=4 tthen apr=5 so may :6
enum takes next contious values

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are logical errors and how does it differ from syntax errors?

629


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

747


What is a structure in c language. how to initialise a structure in c?

581


Can you return null in c?

576


How can I write a function analogous to scanf?

622






How does pointer work in c?

594


What is bss in c?

581


Is a house a shell structure?

674


What does typedef struct mean?

625


Can true be a variable name in c?

533


What is variables in c?

583


Explain what happens if you free a pointer twice?

578


What is the stack in c?

700


What is static volatile in c?

546


What is echo in c programming?

527