Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the constant expression in C language? What integer expression? What's the difference between them?
What is the constant expression in C language? What integer expression? What's the difference between them?
Constant expressions, as the name implies, are represented by constants, such as

double;twofold

a

=

Three-dimensional (abbreviation for three dimension)

+

2. 1

+

sizeof(double);

Integer expressions are expressions represented by integer data.

a[n];

Dimension size n must be an integer, and the system will not automatically convert low-precision numbers into high-precision degrees. All a[3.4] are incorrect, it must be a[(int)3.4].