enum colors {BLACK,BLUE,GREEN}
main()
{
printf( "%d..%d..%d", BLACK, BLUE, GREEN );
return(1);
}
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option B
Explanation :
enum assigns numbers starting from 0, if not explicitly defined.
Be The First To Comment