C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Forget it Ok here None of These Error Forget it Ok here None of These ANSWER DOWNLOAD EXAMIANS APP
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 20 10 20 21 21 10 20 21 10 10 10 11 11 10 20 21 20 10 20 21 21 10 20 21 10 10 10 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 4 5 6 7 8 9 None of these 1 2 3 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 4 5 6 7 8 9 None of these 1 2 3 4 5 6 7 8 9 1 2 3 10 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");} 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 nullp nullq p q x nullq where x can be p or nullp depending on the value of NULL ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 14 15 Garbage Value 13 12 14 15 Garbage Value 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of these Compilation Error Infinite Loop 5 5 5 5 5 5 4 3 2 1 None of these Compilation Error Infinite Loop 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP