What will be the output of the following C code?
#include<stdio.h>
enum India
{
a=1,b,c,d,e
};
int main()
{
printf("%d",b*c+e-d);
}
#include<stdio.h>
enum India
{
a=1,b,c,d,e
};
int main()
{
printf("%d",b*c+e-d);
}A. Error
B. 7
C. 2
D. 4
Answer: Option B

Join The Discussion