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
Is r written in c?
Can the size of an array be declared at runtime?
Is null equal to 0 in sql?
Explain the use of function toupper() with and example code?
What is extern variable in c with example?
What is #define used for in c?
The file stdio.h, what does it contain?
Explain what is the difference between functions abs() and fabs()?
What is the use of header files?
When should the register modifier be used? Does it really help?
What is the meaning of && in c?
Explain what is wrong with this program statement?
How can I avoid the abort, retry, fail messages?
Explain what are compound statements?
What is getch?