enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answer Posted / 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 |
Post New Answer View All Answers
write a progrmm in c language take user interface generate table using for loop?
can we implement multi-threads in c.
How can you tell whether a program was compiled using c versus c++?
Compare and contrast compilers from interpreters.
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What is difference between constant pointer and constant variable?
Who is the main contributor in designing the c language after dennis ritchie?
Can you write the algorithm for Queue?
What are the 4 types of organizational structures?
What is the difference between a function and a method in c?
What is c value paradox explain?
Explain what are bus errors, memory faults, and core dumps?
Explain what are the standard predefined macros?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What are all different types of pointers in c?