Tiên Hương
New member
What will be the output of the following C code?
A. Error
B. 011
C. 110
D. 101
Code:
#include<stdio.h>
enum 123hoidap
{
a=1,b
};
enum 123hoidap1
{
c,d
};
int main()
{
enum 123hoidap1 s1=c;
enum 123hoidap1 s=a;
enum 123hoidap s2=d;
printf("%d",s);
printf("%d",s1);
printf("%d",s2);
}
B. 011
C. 110
D. 101