Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In C language, what does L in 115L mean?
In C language, what does L in 115L mean?

The L in 115L means that this is a long integer, corresponding to the long type.

But the length of long is not defined in C. These are determined by the compiler

But usually the long type is the same length as int (32/64-bit compiler)

If L is placed on a character, it is a wide character, and the wide character is mapped to short. , that is, two bytes

For example, 'hundred'L