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
What is const keyword in c?
What is string in c language?
What are pointers really good for, anyway?
What is function prototype?
What is a ternary operator in c?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is pointer to pointer in c language?
Why is c called "mother" language?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Is c high or low level?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What are the different categories of functions in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Is null always defined as 0(zero)?
What is break statement?