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

Is sizeof a keyword in c?

584


What are the 5 organizational structures?

569


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

594


Explain what is #line used for?

608


How many levels of pointers can you have?

705






What are the 4 types of programming language?

583


What is the use of void pointer and null pointer in c language?

627


how logic is used

1502


Explain a pre-processor and its advantages.

633


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1784


Subtract Two Number Without Using Subtraction Operator

357


What do you mean by recursion in c?

626


Explain function?

665


Explain how to reverse singly link list.

606


Explain what is wrong with this statement? Myname = ?robin?;

1027