添加toobig.c

This commit is contained in:
LingZhaoHui 2021-10-07 21:59:29 +08:00
parent 4f6d9843b0
commit bac6a1901c
1 changed files with 11 additions and 0 deletions

11
chapter3/toobig.c Normal file
View File

@ -0,0 +1,11 @@
#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;
}