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

Join The Discussion