how to sort array in ascending order in c programming
Answers
Answered by
0
//Sort the array in ascending order. for (int i = 0; i < length; i++) { for (int j = i+1; j < length; j++) { if(arr[i] > arr[j]) {
Similar questions