What will be the output of the following C code?
#include<stdio.h>
#define MAX 4
enum Shyam
{
a,b=3,c
};
main()
{
if(MAX!=c)
printtf("hello");
else
printf("welcome");
}
#include<stdio.h>
#define MAX 4
enum Shyam
{
a,b=3,c
};
main()
{
if(MAX!=c)
printtf("hello");
else
printf("welcome");
}
A. error
B. hello
C. welcome
D. 2
Answer: Option C
Join The Discussion