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 / yash
ans is:6
becase enum takes contiguous values
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What does struct node * mean?
What does emoji p mean?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
praagnovation
What is the difference between union and anonymous union?
What is ambagious result in C? explain with an example.
Simplify the program segment if X = B then C ← true else C ← false
Write a program to print factorial of given number using recursion?
How can you pass an array to a function by value?
Difference between MAC vs. IP Addressing
What are the salient features of c languages?
What does %2f mean in c?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Explain the ternary tree?
Explain the difference between ++u and u++?