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 does %p mean?

1087


program to convert a integer to string in c language'

2457


What is formal argument?

1137


What is enumerated data type in c?

1085


How can you determine the size of an allocated portion of memory?

1313


When c language was developed?

1062


Why do we need a structure?

1042


What does != Mean in c?

1055


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1006


how to execute a program using if else condition and the output should enter number and the number is odd only...

2303


If I have a char * variable pointing to the name of a function ..

1172


Define and explain about ! Operator?

1002


Explain enumerated types.

1036


What does a function declared as pascal do differently?

1136


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2302