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
Explain how can you tell whether two strings are the same?
What is quick sort in c?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Why pointers are used in c?
For what purpose null pointer used?
Multiply an Integer Number by 2 Without Using Multiplication Operator
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is a sequential access file?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What are formal parameters?
i want to know the procedure of qualcomm for getting a job through offcampus
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Hi can anyone tell what is a start up code?
What is a floating point in c?