Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the base system that cannot be used to represent integer constants in C language? (Decimal, binary, octal or hexadecimal?) Please explain in detail! Thanks!
What is the base system that cannot be used to represent integer constants in C language? (Decimal, binary, octal or hexadecimal?) Please explain in detail! Thanks!

The base system that cannot be used to represent integer constants in C language is binary system

Binary system is not acceptable

In C language, this is the rule, no What’s the reason for going too deep?

Integer constants are also called integer numbers. They have three different representation forms: decimal, octal, and hexadecimal

Decimal is directly represented by an integer< /p>

In octal, add 0 (zero) before the constant, such as 027

In hexadecimal, add 0x (zero multiplication sign) before the constant, such as 0x27