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 g##g2 10012 Runtime error Syntax error 100 g##g2 10012 Runtime error Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 1..0 0..1 0..0 1..1 1..0 0..1 0..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 3 a[0] = 3 a[1] = 2 Compilation error a[0] = 2 a[1] = 3 a[0] = 3 a[1] = 2 Compilation error a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 Error garbage values 0 0 0 1 1 1 Error garbage values 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 11 6 6 6 6 7 12 7 5 6 11 6 6 6 6 7 12 7 5 6 ANSWER DOWNLOAD EXAMIANS APP