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
How many loops are there in c?
Is it possible to initialize a variable at the time it was declared?
Can we use visual studio for c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
Is c language still used?
What are the uses of null pointers?
program to convert a integer to string in c language'
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is the equivalent code of the following statement in WHILE LOOP format?
What is a void pointer in c?
What is the most efficient way to count the number of bits which are set in an integer?
Why do we use namespace feature?
Do string constants represent numerical values?
What is the size of structure in c?
Define Array of pointers.