What will be the output of the following C code? [code]#include<stdio.h> #define MAX 4 enum 123hoidap { a,b=3,c }; main() { if(MAX!=c)

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

Tìm kiếm

Back
Top