Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C language, what do constants and symbolic constants mean?
C language, what do constants and symbolic constants mean?
The so-called unchanged means that it can be used at any time and will not change.

A program.

int a;

a = 4;

We know int a;; An integer variable is declared.

a = 4; Assign a value to a variable with a value of 4.

Where 4 is a constant and an integer constant.

Similarly, char c =' Y

C is a character variable and y is a character constant.