Variables in the C language can have their own properties
You can add the "Properties" keyword when you define a variable
The "Properties" keyword indicates the unique meaning of a variable
1:auto
Auto is the default property of local variables in C language
The compiler defaults to all local variables are auto
2:static
The static keyword indicates the variable's "statically" property
Static key has the meaning of "scoped qualifier" at the same time
Static decorated local variables stored in the program static area
Another meaning of static is the file scope identifier
3:register
The Register keyword indicates that the variable is stored in a register
Register is only a request register variable, but it does not necessarily require success
The register variable must be a value that the CPU register can accept
Cannot get address of register variable with & operator
Summary
The auto variable is stored in the program's stack, and the default property
Static variable stored in program static area
Register variable request stored in CPU register