C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns 1 None of these true -1 0 1 None of these true -1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error 10012 100 g##g2 Runtime error Syntax error 10012 100 g##g2 Runtime error ANSWER DOWNLOAD EXAMIANS APP
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"); } } Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr{7} arr{6} arr[6] arr[7] None of these arr{7} arr{6} arr[6] arr[7] ANSWER DOWNLOAD EXAMIANS APP