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 / vijay r15
error
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many header files are in c?
Define Array of pointers.
Explain how can you tell whether two strings are the same?
How can I determine whether a machines byte order is big-endian or little-endian?
What is the explanation for the dangling pointer in c?
What are preprocessor directives in c?
What is main () in c language?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What are pointers?
What are the advantages of using Unions?
How can I change the size of the dynamically allocated array?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is FIFO?
What is meant by initialization and how we initialize a variable?