ThịThúy Hiền
New member
What will be the output of the following C code?
A. 1
B. 2
C. 0
D. Error
Code:
#include<stdio.h>
enum colour
{
blue, red, yellow
};
main()
{
enum colour c;
c=yellow;
printf("%d",c);
}
B. 2
C. 0
D. Error