Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Why is the maximum number of integers in C language the second power of 15?
Why is the maximum number of integers in C language the second power of 15?
Because integers in C language are stored in memory with binary numbers of length (16 bits).

One bit in 16 is used to judge whether it is positive or negative. The maximum quantity is111111165438.

The range of records converted into decimal integers is -2 15 to (2 15- 1).