c_primer_plus/chapter3/toobig.c

12 lines
201 B
C
Raw Normal View History

2021-10-07 13:59:29 +00:00
#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;
}