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
main() { printf("hello"); fork(); }
Is it possible to execute code even after the program exits the main() function?
Explain pointers in c programming?
What is an operator?
what do u mean by Direct access files? then can u explain about Direct Access Files?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Is c compiled or interpreted?
Explain what are the different data types in c?
What is the difference between printf and scanf )?
What is putchar() function?
How old is c programming language?
What is the size of a union variable?
Is c dynamically typed?
What library is sizeof in c?