C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 4 5 Error 6 4 5 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These three zero Error None of These three zero Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 5 7 Compiler Error 0 6 5 7 Compiler Error 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 i = 1, +i = 1 i = -1, +i = -1 None of These i = -1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP