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 |
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Concat two string with most overlapped substring has to removeĀ "abcd"+ "cdef" = "abcdef
What is %g in c?
Explain how can you restore a redirected standard stream?
Explain about the constants which help in debugging?
Is it better to bitshift a value than to multiply by 2?
What is the Lvalue and Rvalue?
What is difference between Structure and Unions?
What is difference between function overloading and operator overloading?
What is a symbolic constant?
Two's compliment of -5