Posts

Showing posts with the label technical interview

SKILL ROCKS TECH SECOND QUESTIONS ANSWER

Q2 find the greatest no. from an array having random numbers of 100 size, with out sorting. int biggest = ar[0]; for(i=0;i<100;i++) {          if(biggest <ar[i])          biggest=ar[i]; } cout<< " greatest no. of array :"<<ar[i];