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 / yash
ans is:6
becase enum takes contiguous values
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
regarding pointers concept
What is a function in c?
For what purpose null pointer used?
Explain about the functions strcat() and strcmp()?
What is indirection? How many levels of pointers can you have?
What is the explanation for the dangling pointer in c?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What are types of preprocessor in c?
Tell me can the size of an array be declared at runtime?
Who developed c language and when?
What is bubble sort technique in c?
Stimulate calculator using Switch-case-default statement for two numbers
What is character constants?
What is time null in c?