C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff4 fff3 fff0 fff1 fff2 fff4 fff3 fff0 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 Run time error 20 20 10 10 10 20 Run time error 20 20 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} None of These hi friends hj grjeodt ij!gsjfoet None of These hi friends hj grjeodt ij!gsjfoet ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); Infinite loop 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 None of these Infinite loop 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 None of these. 0.000000 Error 10 None of these. 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP