C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff3 fff4 fff0 fff1 fff2 fff3 fff4 fff0 fff1 fff2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 1 33 -1 0 Compilation Error 1 33 -1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite Complier error -10 to -1 -10 to 0 -10 to infinite Complier error -10 to -1 -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 0 0 0 None of these 1 1 0 1 1 0 0 0 None of these 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} World None of these WorldHello Hello World Hello World None of these WorldHello Hello World Hello 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);} x=0 x=4 x=1 x=5 Error x=0 x=4 x=1 x=5 Error ANSWER DOWNLOAD EXAMIANS APP