C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 5 4 6 Error 5 4 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) power(2, x) pow(x, 2) power(x, 2) pow(2, x) sqr(x) power(2, x) pow(x, 2) power(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD None of These Compiler Error GOOD BAD GOOD None of These Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 10 None of these 30 15 50 10 None of these 30 15 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 14 0 None of these 10 1 14 0 None of these 10 1 ANSWER DOWNLOAD EXAMIANS APP