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


Please Help Members By Posting Answers For Below Questions

What are external variables in c?

563


a value that does not change during program execution a) variabe b) argument c) parameter d) none

715


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

607


Why is c so powerful?

698


Is c++ based on c?

663






How many header files are in c?

564


Why flag is used in c?

667


Explain what does the format %10.2 mean when included in a printf statement?

796


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2343


In C language what is a 'dangling pointer'?

650


Explain zero based addressing.

621


can we change the default calling convention in c if yes than how.........?

2048


What is #include called?

583


How can I open files mentioned on the command line, and parse option flags?

604


What is string function in c?

547