Int variable range
1, the value range of INT variable, -32768~32767.

2. INT variables are divided into short int, long int, unsigned int, signed int and unsigned long integer. The specific scope of different types is as follows:

Short integer -32768~32767

Signed int -32768~32767

Unsigned integer 0~65535

Long int-2147483648 ~ 2147483647

Unsigned long integer 0~4294967295

In addition, different operating systems are different. The range of values of int types defined by 16-bit, 32-bit and 64-bit systems is different according to the word length, which is also related to the compiler and needs to be tested in a specific environment.