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

What is the right type to use for boolean values in c?

989


Tell us the use of fflush() function in c language?

1087


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2714


What does typedef struct mean?

1044


Explain what is the general form of a c program?

1031


What is openmp in c?

968


Which function in C can be used to append a string to another string?

1176


Can you define which header file to include at compile time?

981


What is the difference between text files and binary files?

1283


What is the use of getchar functions?

1126


How do I convert a string to all upper or lower case?

1057


Write a program to reverse a linked list in c.

1066


Is r written in c?

1110


How are strings stored in c?

972


Write programs for String Reversal & Palindrome check

1009