C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A c Error 65 A c Error 65 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]);} 0 0 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 Code will not compile 0 0 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 Code will not compile ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 13 None of These 12 11 13 None of These 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Error Some address will be printed make an infinite loop None of These Error Some address will be printed make an infinite loop None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 7 None of These 6 5 7 None of These 6 5 ANSWER DOWNLOAD EXAMIANS APP