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


Please Help Members By Posting Answers For Below Questions

What are the rules for identifiers in c?

797


Where we use clrscr in c?

888


What are the header files used in c language?

772


what is ur strangth & weekness

2027


What does %p mean c?

813


Why doesnt long int work?

788


What is the difference between arrays and pointers?

837


What is d'n in c?

805


Can one function call another?

826


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

5139


What is break in c?

787


What is meant by errors and debugging?

843


Why should I prototype a function?

824


Write a program to check prime number in c programming?

801


Do pointers take up memory?

842