Page 1 of 1

Point out the error (if any) in the following C code?

Posted: Wed Jul 13, 2022 7:55 pm
by answerhappygod
#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);