enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answers were Sorted based on User's Feedback
Answer / surenda pal singh chouhan
0..1..2
Explanation:
enum assigns numbers starting from 0, if not explicitly
defined
| Is This Answer Correct ? | 31 Yes | 0 No |
Answer / vignesh1988i
the ascii values of B,B,G will be printed..............
since these black,blue and green are strings given directly
in the printf statements..... so the base address will be
going to the function definition of printf......
| Is This Answer Correct ? | 0 Yes | 13 No |
What is the difference between mpi and openmp?
Can anyone tell what is stack overflow? what precaution we should take?
write a program to print sum of each row of a 2D array.
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);
What is a macro?
What is static identifier?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
WRITE A PROGRAM TO FIND A REVERSE OF TWO NO
struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(ā%dā,s.x); }
Is it possible to create recycle bin in mobiles?
How does the C program handle segmentation faults?
write a c program to add two integer numbers without using arithmetic operator +