[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Structures, Unions, Enums - Discussion

Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion

8 / 43

What is the output of the following 'C' program?

#include<stdio.h>
enum colors {BLACK,BLUE,GREEN,YELLOW};
int main()
{
printf("%d..%d..%d..%d",BLACK,BLUE,GREEN,YELLOW);
return 0;
}

A0..2..3..4

B0..2..2..3

C0..1..2..3

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here