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 pre-emptive data structure and explain it with example?
What is assert and when would I use it?
What is header file definition?
Can include files be nested? How many levels deep can include files be nested?
What are the ways to a null pointer can use in c programming language?
What kind of structure is a house?
Can we increase size of array in c?
WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?
8 Answers Carphone Warehouse, IBM, SAS,
1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file
Explain what are the different data types in c?
What is getch() function?
Explain what is meant by high-order and low-order bytes?