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 variable initialization and why is it important?
What is the use of parallelize in spark?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
When was c language developed?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What are the types of macro formats?
Can a pointer be null?
What is string constants?
why return type of main is not necessary in linux
How to write a multi-statement macro?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
can we change the default calling convention in c if yes than how.........?
Explain 'bus error'?
how logic is used
What is double pointer in c?