Sorting algorithms/Bubble sort: Difference between revisions

Content deleted Content added
→‎{{header|C}}: there is no point in making a local variable const
Line 226:
 
=={{header|C}}==
<lang c>void bubble_sort(int *a, const int n) {
int i, j, t=1;
for (i = n - 1; i && t; i--) {