/*A lecture on recursion and sorting *Programeer: Ali Sabbir. */ #include #include #include #include using namespace std; int pos(int*, int,int, const int); void insert(int*,int,int); int main(){ const int size =10; int A[size]; srand(time(0)); for(int i=0;idestination;--i)A[i]=A[i-1]; A[i]=temp; } int pos(int *A,int first,int last,const int key_index){ int mid = (first+last)/2; if(first>last) return first; else if(A[key_index]>=A[mid])pos(A,mid+1,last,key_index); else if(A[key_index]