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 is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1193


Is c programming hard?

973


When should a far pointer be used?

1063


Why c is faster than c++?

981


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1653


What are pointers really good for, anyway?

1015


Why is c still so popular?

1007


What is function pointer c?

1037


What is the concatenation operator?

1091


Is anything faster than c?

971


How do you declare a variable that will hold string values?

1107


What are qualifiers in c?

987


What is the value of uninitialized variable in c?

980


Lists the benefits of c programming language?

1069


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15732