October 6th, 2012, 08:28 PM
Problem in Recurssion
I have written a program for Selection sort. I want to write the same program in Recursive way. Plz help me in it.
int i ,j=0,k=0;
printf("Enter the element for Selection sort ");
printf("\nSorted Elements are :%d",a[i]);
October 7th, 2012, 12:36 AM
1. Find the smallest item in the array.
2. Swap it into the first position.
3. Recurse, omitting the first position.