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

What is the output for the program given below

typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}

Answer Posted / chris_sreekanth

1

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of operators in c?

1030


Do pointers store the address of value or the actual value of a variable?

1042


What is a macro?

1072


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1170


What is the right type to use for boolean values in c? Is there a standard type?

982


Explain the use of fflush() function?

1040


Are pointers really faster than arrays?

994


why wipro wase

2273


Why main function is special give two reasons?

1506


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1069


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1042


What are pointers in C? Give an example where to illustrate their significance.

1193


Why is c called a mid-level programming language?

1169


For what purpose null pointer used?

1033


What is difference between stdio h and conio h?

1338