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 / saketh
Answer is :6,
solution:
enum is the variable that stores the values in a contiguous manner if they are not initilised with any values...
so,apr=5,may=6;
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
I heard that you have to include stdio.h before calling printf. Why?
Explain built-in function?
What does calloc stand for?
How do I use strcmp?
How do you sort filenames in a directory?
If errno contains a nonzero number, is there an error?
Compare interpreters and compilers.
Do you know the difference between malloc() and calloc() function?
What do you understand by normalization of pointers?
Can you please explain the difference between malloc() and calloc() function?
What does %c mean in c?
What is difference between structure and union?
How can you be sure that a program follows the ANSI C standard?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Is it possible to use curly brackets ({}) to enclose single line code in c program?