C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop None of these Compilation Error 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of these Compilation Error 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns None of these 0 -1 true 1 None of these 0 -1 true 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 -1 1 -1 1 -1 1 complier error 1 -1 -1 1 -1 1 -1 1 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] None of these arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} arr{6} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 20 20 10 20 10 10 Run time error 20 20 10 20 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 64 4 16 None of These 64 4 16 None of These ANSWER DOWNLOAD EXAMIANS APP