Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Identifiers and storage lengths of data types in C language.
Identifiers and storage lengths of data types in C language.
Type Description Length (Bytes) Range Remarks

Character type1-128 ~127-27 ~ (27-1)

Unsigned Character Unsigned Character Type 10 ~ 2550 ~ (28- 1)

Short int short integer 2-32768 ~ 32767 2-15 ~ (215-1)

Unsigned short integer unsigned short integer 20 ~ 655350 ~ (2 16- 1)

Int integer 4-2147483648 ~ 2147483647-231~ (231-1)

Unsigned int unsigned integer 40 ~ 4294967295 0 ~ (232- 1)

Floating-point real type (single precision) 41.18 *10-38 ~ 3.40 *1038 7 significant bits.

Double real number type (double precision) 8 2.23 *10-308 ~1.79 *1030815 significant bit.

Long double real type (long double precision)10 3.37 *10-4932 ~1.18 *10493219 significant bits.