overflow.c
来自「C/C++程序员实用大全例程0-1」· C语言 代码 · 共 11 行
C
11 行
#include <stdio.h>
void main(void)
{
int positive = 32767;
int negative = -32768;
printf("%d + 1 is %d\n", positive, positive+1);
printf("%d - 1 is %d\n", negative, negative-1);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?