Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C Language: About Short Plastic Surgery and Plastic Surgery
C Language: About Short Plastic Surgery and Plastic Surgery
The byte length is the same, and the range of values is the same, so there is no difference.

It's just that different compilers will be different. Many compilers have a length of 4 for int and 2 for short. In the old C language, both int and short are 2, and long is 4, so it depends on what the compiler does.