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
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is scanf () in c?
What is difference between union All statement and Union?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Why does everyone say not to use gets?
What does %p mean c?
What is d scanf?
How can I find out how much free space is available on disk?
how to find anagram without using string functions using only loops in c programming
What is calloc malloc realloc in c?
What is structure packing in c?
What are the advantages and disadvantages of pointers?
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is null in c?