Examveda
Examveda

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

A. error

B. hello

C. welcome

D. 2

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals