void bubblesort(int array[],int size)  
 {  
 int tmp ,i,j;  
 for(i = 0;i  
 for(j=0;j < size;j++)  
 if(array[i] < array[j])  
 {  
 tmp = array[i];  
 array[i] = array[j];  
 array[j] = tmp;  
 }  
 }  Do you like this Tutorial? Please link back to this article by copying one of the codes below.
URL: HTML link code: BB (forum) link code: 
No comments: