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++);} 5 6 12 7 6 7 6 6 11 6 5 6 12 7 6 7 6 6 11 6 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]);} Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value Code will not compile 0 0 Garbage vlaue Garbage Value Garbage value 0 0 Garbage Value Code will not compile 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 0 10..10 10..50 Error 0 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 15 12 10 11 15 12 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c 65 Error A c 65 Error A ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on the first column need not start on a new line has # as the first character comes before the first executable statement need not start on the first column need not start on a new line has # as the first character ANSWER DOWNLOAD EXAMIANS APP