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
What is the right type to use for boolean values in c?
Tell us the use of fflush() function in c language?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What does typedef struct mean?
Explain what is the general form of a c program?
What is openmp in c?
Which function in C can be used to append a string to another string?
Can you define which header file to include at compile time?
What is the difference between text files and binary files?
What is the use of getchar functions?
How do I convert a string to all upper or lower case?
Write a program to reverse a linked list in c.
Is r written in c?
How are strings stored in c?
Write programs for String Reversal & Palindrome check