Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa75dc1

Browse files
authored
Added #include <limits.h> to support the use of INT_MAX (egonSchiele#251)
1 parent 73e5711 commit fa75dc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

02_selection_sort/c/01_selection_sort.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <stdio.h>
22
#include <stdlib.h>
3+
#include <limits.h>
34
#define SIZE 5
45

56
// Finds the smallest value in an array
@@ -37,4 +38,4 @@ int main(void) {
3738
printf("%d ", sortarr[i]);
3839
}
3940
return 0;
40-
}
41+
}

0 commit comments

Comments
 (0)