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 / vijoeyz
enum day = { jan = 1 ,feb=4, april, may}
- should have been -
enum day { jan = 1 ,feb=4, april, may};
However, the answer is 6, i.e., the option C.
Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/
| Is This Answer Correct ? | 74 Yes | 15 No |
Post New Answer View All Answers
Explain the difference between strcpy() and memcpy() function?
What is scope rule of function in c?
Is c procedural or functional?
Can a local variable be volatile in c?
What is nested structure with example?
How arrays can be passed to a user defined function
What is sizeof array in c?
Does c have class?
What is atoi and atof in c?
How does sizeof know array size?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is the purpose of the preprocessor directive error?
What is main return c?
What is the difference between procedural and declarative language?
How can this be legal c?