Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Write the identifier and storage length of C language data type.
Write the identifier and storage length of C language data type.
The basic data types of C language are floating point and integer.

Byte length of each type in a 32-bit system

A byte is 8 bits.

Integer:

Basic shaping int 4

Short integer 2

Long int 4

Long Long (int) 8 (added by C99)

Char 1

Boolean value 1 (added by C99)

Note: header file

Floating-point type:

Single floating point floating point floating point 4

Double floating-point double 8