Examveda
Examveda

Point out the error( if any) in the following code.
#include<stdio.h>
enum India
{
    a,b,c
};
enum India g;
main()
{
    g++;
    printf("%d",g);
}

A. Error in the statement: a,b,c

B. Error in the statement: enum India g;

C. Error in the statement: g++

D. No error

Answer: Option D


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals