How would I modify a selectionSort function to search an array of strings?
void selectionSort (int array[], int size)
{
int startScan, min Index, minValue;
for (startScan = 0; startScan<(size-1); startScan++)
{
minIndex=startScan;
minValue=array[startScan];
for(int index = startScan + 1;index<size;index++)
{
if (array[index] < minValue)
{
minValue=array[index];
minIndex=index;
}
}
}
}