Add isoc.c
This commit is contained in:
parent
09ec97fcfb
commit
5c13ef41ee
13
2/limits/isoc.c
Normal file
13
2/limits/isoc.c
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#include <limits.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void){
|
||||||
|
printf("%d %d %d\n", CHAR_BIT, CHAR_MAX, CHAR_MIN);
|
||||||
|
printf("%d %d\n", INT_MAX, INT_MIN);
|
||||||
|
printf("%d %d\n", SHRT_MAX, SHRT_MIN);
|
||||||
|
printf("%ld %ld\n", LONG_MAX, LONG_MIN);
|
||||||
|
printf("%lld %lld\n", LLONG_MAX, LLONG_MIN);
|
||||||
|
|
||||||
|
printf("%d %d %d\n", FOPEN_MAX, TMP_MAX, FILENAME_MAX);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user