Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What is the difference between short integer and long integer in C language?
What is the difference between short integer and long integer in C language?
Only the numerical range is different.

The value range of long integer is [-2 147483648, 2 147483648].

Unsigned long integer, that is, long integer without negative sign, with the value range of [0,4294967259].

Short integer values range from [-32768, 32768]

The value range of unsigned short integer is [0,65535]