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



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..

Answer / vijoeyz

enum day = { jan = 1 ,feb=4, april, may}

- should have been -

enum day { jan = 1 ,feb=4, april, may};

However, the answer is 6, i.e., the option C.

Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/

Is This Answer Correct ?    73 Yes 15 No

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..

Answer / guest

ans is 6

Is This Answer Correct ?    53 Yes 10 No

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..

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

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..

Answer / jayasree

ans is 6
that is option c

Is This Answer Correct ?    24 Yes 4 No

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..

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

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..

Answer / yash

ans is:6
becase enum takes contiguous values

Is This Answer Correct ?    4 Yes 2 No

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..

Answer / rajamanickam.m

none

Is This Answer Correct ?    15 Yes 18 No

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..

Answer / sibi

11

Is This Answer Correct ?    5 Yes 24 No

Post New Answer

More C Interview Questions

Why can't I perform arithmetic on a void* pointer?

0 Answers  


Explain the differences between public, protected, private and internal.

2 Answers  


What is #pragma statements?

0 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


How many types of functions are there in c?

0 Answers  






console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

0 Answers  


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

0 Answers   Wipro,


In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a

2 Answers   BitWise,


What is malloc return c?

0 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


What is the difference between functions getch() and getche()?

0 Answers  


Explain what is the difference between null and nul?

0 Answers  


Categories