C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Error Equal None of these. Unequal Error Equal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 1 1 2 3 0 1 2 2 1 1 2 2 None of these 0 1 2 3 1 1 2 3 0 1 2 2 1 1 2 2 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 -1 1 -1 complier error 1 -1 1 1 -1 -1 1 -1 complier error 1 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=4 x=1 x=5 x=0 Error x=4 x=1 x=5 x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with Both of the above An alphabet A number A special symbol other than underscore Both of the above An alphabet A number A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 1 0 0 1 3 0 0 0 0 2 1 0 0 1 2 0 0 0 1 3 1 0 0 1 3 0 0 0 0 2 1 0 0 1 2 0 ANSWER DOWNLOAD EXAMIANS APP