Hi all, 

How to make proper test driver for next module?

void sel_sort ( int array[ ], int limit )
{
        int top, search, temp;
        for ( top = 0; top < limit-1; top++)
                for ( search = top + 1; search < limit; search++)
                            if ( array[search] > array[top] ) {  
                                      temp = array[search];
                                      array[search] = array[top];
                                array[top] = temp;
               }
}
 
 
 
Thank you, Tse


      

[Non-text portions of this message have been removed]

Reply via email to