C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 10 20 21 10 10 20 21 21 10 10 11 11 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile Garbage value 0 0 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile Garbage value 0 0 0 Garbage vlaue Garbage Value 0 Garbage Value 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 100 g##g2 Runtime error 10012 Syntax error 100 g##g2 Runtime error 10012 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 ANSWER DOWNLOAD EXAMIANS APP