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
Answers were Sorted based on User's Feedback
Answer / bhavani
ans:6
becz feb=4 tthen apr=5 so may :6
enum takes next contious values
Is This Answer Correct ? | 25 Yes | 2 No |
Answer / 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 |
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }
27 Answers Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,
how to print this sereis 2 4 3 6 5..........?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
WHAT IS INT?
why 'c' is called middle level language.
which operator is known as dummy operator in c?
When should a far pointer be used?
Differentiate between static and dynamic modeling.
Why c is faster than c++?
What is volatile variable how do you declare it?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is c system32 taskhostw exe?