Int stands for signed integer, and the minimum value of int ranges from -32767 to 32767 according to the standard.
Basic introduction
C language provides many integer types, all of which are integers. The difference between these integers lies in the size of the value range and whether they can be negative. Int is one of the integers, commonly called integer. There is no ambiguity, we call it integer type and int integer.
Int stands for signed integer, and variables declared with int can be positive, negative and zero, but only integers. The standard stipulates that the minimum value range of int is -32767 to 32767.
The value range of int varies from machine to machine, but it must be greater than or equal to -32767 to 32767. Generally speaking, int takes up a word of memory space. Therefore, the old IBM compatible computer with the word length of 16 bits uses 16 bits to store the integer int, and the value range is -32768-32767.
At present, personal computers are generally 32 bits long, and in these computers, int is also 32 bits, with values ranging from -2 147483648 to 2 147483647. For a computer with 64-bit CPU, it is natural to use more bits to store int, and the range of values will certainly be wider.