What is the overflow and underflow of integers in C language?
Signed integer variable int type, which is specified to be represented by two bytes in C language, namely 16 binary bits. The highest number is used to represent positive and negative, followed by 15, so a * * can represent 2 15, which is 32768 bits. But the number 0 is represented by 16 binary zeros, so the positive number can only reach 32767 and the negative number can reach -32768.