Hi, i am working on a quicksort function and I have everything except how to sort the second half. I am missing one line, where to start the second half and for how many items, any help would be greatly appreciated. THANKS!
int * partition(int array[], int size);
void quicksort(int array[], int size)
{
if (size == 0)
return ;
else
{
int * split = partition(array, size);
quicksort(array, split - array);
quicksort( );
return ;
}
}
I already have partition prototyped, im just missing quicksort( ???,???);