C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff3 fff4 fff0 fff2 fff1 fff3 fff4 fff0 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);} Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values 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(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP