Examveda

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);
}

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


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals