The number system that cannot be represented in the C source program is binary. In the C language, all numeric constants are signed, so integer constants only distinguish between integer and long integer forms. Integer constants and long integer constants can be expressed in decimal, octal, or hexadecimal.
#The number system that cannot be represented in the C source program is binary.
(Recommended learning: C language tutorial)
Analysis:
C language source program cannot represent binary. In C language, all numerical values Type constants are signed, so integer constants only distinguish between integer and long integer forms.
Integer constants and long integer constants can be expressed in decimal, octal, or hexadecimal.
During the running of the program, a quantity whose value cannot be changed is called a constant. Constants are also divided into integer types, real types, character types, etc. The above are the type attributes of constants. These types determine the size of the storage space occupied by various constants and the range of number representation.
In C programs, constants directly reflect their values and types in their own existence.
The above is the detailed content of What number system cannot be expressed in C source program?. For more information, please follow other related articles on the PHP Chinese website!