toobig.c 251 B

123456789101112
  1. /* toobig.c-exceeds maximum int size on our system */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int i = 2147483647;
  6. unsigned int j = 4294967295;
  7. printf("%d %d %d\n", i, i+1, i+2);
  8. printf("%u %u %u\n", j, j+1, j+2);
  9. return 0;
  10. }