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
Explain spaghetti programming?
Write a code of a general series where the next element is the sum of last k terms.
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
Explain that why C is procedural?
How does struct work in c?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
How would you rename a function in C?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What is difference between constant pointer and constant variable?
What is the use of a conditional inclusion statement in C?
What is console in c language?
How are variables declared in c?
What is volatile variable how do you declare it?
What is bash c?
What are types of structure?