fork download
  1. #include<bits/stdc++.h>
  2. int main() {
  3. printf("Range for INT is from %d to %d\n\n",INT_MIN,INT_MAX);
  4. printf("Range for LONG INT from %ld to %ld\n\n",LONG_MIN,LONG_MAX);
  5. printf("Range for LONG LONG INT from %lld to %lld\n\n",LONG_LONG_MIN,LONG_LONG_MAX);
  6. return 0;
  7. }
  8.  
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
Range for INT is from -2147483648 to 2147483647

Range for LONG INT from -2147483648 to 2147483647

Range for LONG LONG INT from -9223372036854775808 to 9223372036854775807