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
How do I use strcmp?
Difference between malloc() and calloc() function?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What are predefined functions in c?
What is the difference between null pointer and wild pointer?
What is a header file?
Why is extern used in c?
What are terms in math?
Explain Function Pointer?
What is zero based addressing?
What does *p++ do? What does it point to?
Can we compile a program without main() function?
How would you obtain the current time and difference between two times?
What's the right way to use errno?
What are local static variables? How can you use them?