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

Is that possible to store 32768 in an int data type variable?

683


Why is c so popular?

638


What does c in a circle mean?

567


What does printf does?

729


What is scanf_s in c?

621






What oops means?

570


How can I get the current date or time of day in a c program?

643


What is pre-emptive data structure and explain it with example?

3197


will u please send me the placement papers to my mail???????????????????

1355


What are the disadvantages of a shell structure?

682


c program for searching a student details among 10 student details

1642


Explain what is the difference between a string and an array?

623


What is "Duff's Device"?

691


Why c is called a middle level language?

626


How are pointers declared in c?

586