From 5c13ef41ee96c13766908d7649c41496702e4bf2 Mon Sep 17 00:00:00 2001 From: Saturneric Date: Wed, 2 Dec 2020 07:14:47 +0800 Subject: [PATCH] Add isoc.c --- 2/limits/isoc.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 2/limits/isoc.c diff --git a/2/limits/isoc.c b/2/limits/isoc.c new file mode 100644 index 0000000..e7b4062 --- /dev/null +++ b/2/limits/isoc.c @@ -0,0 +1,13 @@ +#include +#include + +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; +}