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
How can I access an I o board directly?
Can the “if” function be used in comparing strings?
Differentiate between the = symbol and == symbol?
What is huge pointer in c?
What is a constant?
What is getch() function?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Why is c used in embedded systems?
Can you please explain the difference between malloc() and calloc() function?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What are the types of i/o functions?
What is the difference between pure virtual function and virtual function?
What does emoji p mean?
What is pointer to pointer in c language?