c_primer_plus/chapter3/toobig.c

12 lines
201 B
C

#include <stdio.h>
int main(int argc, char const *argv[])
{
int i = 2147483647;
unsigned int j = 4294967295;
printf("%d %d %d\n", i, i+1, i+2);
printf("%u %u %u\n", j, j+1, j+2);
return 0;
}