SHARE
TWEET

fffffff

a guest Mar 15th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <limits.h>
  3.  
  4. int main(void)
  5. {  
  6.     printf("CHAR_BIT   = %d\n", CHAR_BIT);
  7.     printf("MB_LEN_MAX = %d\n", MB_LEN_MAX);
  8.     printf("\n");
  9.  
  10.     printf("CHAR_MIN   = %+d\n", CHAR_MIN);
  11.     printf("CHAR_MAX   = %+d\n", CHAR_MAX);
  12.     printf("SCHAR_MIN  = %+d\n", SCHAR_MIN);
  13.     printf("SCHAR_MAX  = %+d\n", SCHAR_MAX);
  14.     printf("UCHAR_MAX  = %u\n",  UCHAR_MAX);
  15.     printf("\n");
  16.  
  17.     printf("SHRT_MIN   = %+d\n", SHRT_MIN);
  18.     printf("SHRT_MAX   = %+d\n", SHRT_MAX);
  19.     printf("USHRT_MAX  = %u\n",  USHRT_MAX);
  20.     printf("\n");
  21.  
  22.     printf("INT_MIN    = %+d\n", INT_MIN);
  23.     printf("INT_MAX    = %+d\n", INT_MAX);
  24.     printf("UINT_MAX   = %u\n",  UINT_MAX);
  25.     printf("\n");
  26.  
  27.     printf("LONG_MIN   = %+ld\n", LONG_MIN);
  28.     printf("LONG_MAX   = %+ld\n", LONG_MAX);
  29.     printf("ULONG_MAX  = %lu\n",  ULONG_MAX);
  30.     printf("\n");
  31.  
  32.     printf("LLONG_MIN  = %+lld\n", LLONG_MIN);
  33.     printf("LLONG_MAX  = %+lld\n", LLONG_MAX);
  34.     printf("ULLONG_MAX = %llu\n",  ULLONG_MAX);
  35.     printf("\n");
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top