Point out the error (if any) in the following C code?
#include<stdio.h>
enum hello
{
a,b,c;
};
main()
{
enum hello m;
printf("%d",m);
}
#include<stdio.h>
enum hello
{
a,b,c;
};
main()
{
enum hello m;
printf("%d",m);
}
A. No error
B. Error in the statement: a,b,c;
C. Error in the statement: enum hello m;
D. Error in the statement: printf("%d",m);
Answer: Option B
Join The Discussion