C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 100 Syntax error Runtime error g##g2 10012 100 Syntax error Runtime error g##g2 10012 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 4 5 6 7 1 2 3 4 Runtime error Syntax error 4 4 5 6 7 1 2 3 4 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 10 12 11 15 None of these 10 12 11 15 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);} 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 20 8 2 50 Theoratically no limit. The only practical limits are memory size and compilers. 20 8 2 50 ANSWER DOWNLOAD EXAMIANS APP