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
What is wrong in this statement? scanf(ā%dā,whatnumber);
Is c programming hard?
When should a far pointer be used?
Why c is faster than c++?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What are pointers really good for, anyway?
Why is c still so popular?
What is function pointer c?
What is the concatenation operator?
Is anything faster than c?
How do you declare a variable that will hold string values?
What are qualifiers in c?
What is the value of uninitialized variable in c?
Lists the benefits of c programming language?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10