Elearning , Interview Questions And Answers

Google

unsig char getmisc; scanf("%x",&getinp); getmisc = snapnib(getinp & 0xff); printf("%x",getmisc); } 1. Change line 4 to misc = (hamalo >> 4)+((aloha & oxof)<<4); 2. remove the 5 3. Change line 4 to misc = (hamalo >> 4)+((aloha & oxfo)<<4); 4. Change line 11 to getmisc = snapnib(getinp); 5. Nothing g. main() { int getinp = 6; while(--getinp) { printf("%d",getinp); if(getinp++ != 3); else break; if(getinp-- != 5) continue; else getinp = getinp - 2; } 1. 5421 2. 5420 3. 541 4. 6543 5. 5410 h. unsigned char inn[2] = "5"; int i,j = 0; sscanf(inn,"%d",&i); while(i) { i = i - 1; j++; printf("%d",++j); } 1. 14 2. 12 3. 24 4. 35 5. none i. char *fn(int num) { char a[] = "Amen"; return(&a[num]); }