Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Are addresses stored in variables in C language?
Are addresses stored in variables in C language?
A variable stores a value of a corresponding type, and whether it is an address depends on the type.

There are different types of variables.

Integer variable int, which stores an integer; Type float, which stores real numbers; Char type, storing characters (actually integers).

Pointer variable is a special variable in C language, which is used to store addresses. In C language, only pointers are used to store address values.