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 are the types of operators in c?
Do pointers store the address of value or the actual value of a variable?
What is a macro?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is the right type to use for boolean values in c? Is there a standard type?
Explain the use of fflush() function?
Are pointers really faster than arrays?
why wipro wase
Why main function is special give two reasons?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What are pointers in C? Give an example where to illustrate their significance.
Why is c called a mid-level programming language?
For what purpose null pointer used?
What is difference between stdio h and conio h?