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 Runtime error g##g2 Syntax error 10012 100 Runtime error g##g2 Syntax error 10012 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These 5 5 5 5 5 Infinite Loop 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value 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; }} Compiler Error GOOD None of These GOOD BAD Compiler Error GOOD None of These GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Enhances the logical clarity of the program. All of these Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Enhances the logical clarity of the program. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 0123456789 Infinite loop 0 Syntax error 10 0123456789 Infinite loop 0 Syntax error ANSWER DOWNLOAD EXAMIANS APP