Skip to content

Commit 143e3ce

Browse files
optimisation , conflicting types warning debugged
1 parent 029582e commit 143e3ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sort/bubble_sort.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#include <stdio.h>
55

6+
void swap(int*,int*);
67

78
void bubblesort(int arr[], int size)
89
{
@@ -39,6 +40,7 @@ int main()
3940

4041
for (i = 0; i < size; i++)
4142
printf(" %d ", array[i]);
43+
printf(" ");
4244
return 0;
4345

4446
}

0 commit comments

Comments
 (0)