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

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

3 Answers  


Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 Answers  


WHAT IS INT?

8 Answers   Accenture,


why 'c' is called middle level language.

2 Answers  






which operator is known as dummy operator in c?

2 Answers   Wipro,


When should a far pointer be used?

0 Answers   Aspire, Infogain,


Differentiate between static and dynamic modeling.

0 Answers   Wipro,


Why c is faster than c++?

0 Answers  


What is volatile variable how do you declare it?

0 Answers  


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

0 Answers  


What is c system32 taskhostw exe?

0 Answers  


Categories