Q:
enum colors {BLACK,BLUE,GREEN}
main()
{
printf( "%d..%d..%d", BLACK, BLUE, GREEN );
return(1);
}
Answer & Explanation
Answer: B) 0..1..2
Explanation: enum assigns numbers starting from 0, if not explicitly defined.
View Answer
Report Error
Discuss