Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

I heard that you have to include stdio.h before calling printf. Why?

1117


Explain built-in function?

1188


What does calloc stand for?

1249


How do I use strcmp?

1140


How do you sort filenames in a directory?

1237


If errno contains a nonzero number, is there an error?

1439


Compare interpreters and compilers.

1117


Do you know the difference between malloc() and calloc() function?

1113


What do you understand by normalization of pointers?

1106


Can you please explain the difference between malloc() and calloc() function?

1184


What does %c mean in c?

1144


What is difference between structure and union?

1193


How can you be sure that a program follows the ANSI C standard?

1663


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

1185


Is it possible to use curly brackets ({}) to enclose single line code in c program?

1381