Examveda

What will be the output of the following C code?
#include<stdio.h>
enum Shyam
{
    a,b,c=5
};
int main()
{
    enum Shyam s;
    b=10;
    printf("%d",b);
}

A. Error

B. 10

C. 1

D. 4

Answer: Option A


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals