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

main()
{
enum{red,green,blue=6,white};
pf("%d%d%d%d", red,green,blue,white);
return 0;
}

a)0 1 6 2
b)0 1 6 7
c)Compilation error
d)None of the above

Answer Posted / rajesh

Answer : b

check it in www.codepad.org

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What should malloc(0) do?

1060


What are header files and explain what are its uses in c programming?

1070


what will be maximum number of comparisons when number of elements are given?

1853


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1587


What is sizeof c?

1004


What is the purpose of type declarations?

1079


What is the default value of local and global variables in c?

986


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2692


What is c system32 taskhostw exe?

979


Explain what’s a signal? Explain what do I use signals for?

1056


Why c is procedure oriented?

1002


Write a program to swap two numbers without using third variable in c?

1075


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1047


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5559


Explain the difference between call by value and call by reference in c language?

1058