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
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What is the difference between memcpy and memmove?
What is a node in c?
Write a program to generate random numbers in c?
What are the advantages of using new operator as compared to the function malloc ()?
Explain a pre-processor and its advantages.
Explain how can you avoid including a header more than once?
Where is c used?
What is #include stdio h?
Is array a primitive data type in c?
What is nested structure with example?
What is unsigned int in c?
When is a null pointer used?
Difference between goto, long jmp() and setjmp()?
What is the use of pointers in C?