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
What are logical errors and how does it differ from syntax errors?
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?
What is a structure in c language. how to initialise a structure in c?
Can you return null in c?
How can I write a function analogous to scanf?
How does pointer work in c?
What is bss in c?
Is a house a shell structure?
What does typedef struct mean?
Can true be a variable name in c?
What is variables in c?
Explain what happens if you free a pointer twice?
What is the stack in c?
What is static volatile in c?
What is echo in c programming?