Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - In C language, do integer constants and integers mean the same thing?
In C language, do integer constants and integers mean the same thing?
Integer constants and integer constants have the same meaning in C language.

Integer constants have decimal, octal (starting from 0) and hexadecimal forms (starting from 0x).

End with l, end with u, and end with LL means long int, unsigned, long long int (i64).

Different types of data have their own data ranges.

-

There are other types of constants in C language, such as character constants:' a',' b','%' and so on. , enumerated literal constants, Boolean literal constants, etc. Their values are essentially integer constants.