C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error XAM is printed Nothing is printed exam is printed Compiler Error XAM is printed Nothing is printed exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 4 Error 5 6 4 Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? None of these / * % + None of these / * % + ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 4 Runtime error 1 2 3 4 Syntax error 4 5 6 7 4 Runtime error 1 2 3 4 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR RED ERROR RED WHITE BLUE RED ERROR ANSWER DOWNLOAD EXAMIANS APP