Added #include <limits.h> to support the use of INT_MAX (#251)
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <limits.h>
|
||||||
#define SIZE 5
|
#define SIZE 5
|
||||||
|
|
||||||
// Finds the smallest value in an array
|
// Finds the smallest value in an array
|
||||||
@@ -37,4 +38,4 @@ int main(void) {
|
|||||||
printf("%d ", sortarr[i]);
|
printf("%d ", sortarr[i]);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user