Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In C language, you cannot initialize a pointer variable when defining it, right?
In C language, you cannot initialize a pointer variable when defining it, right?

Pointer variables can be initialized when defining them in the C language. Pointer variables can be initialized at or after definition, or as elements in an array or structure. For local pointer variables, if there is no explicit initialization assignment operation, the value is uncertain, because declaring a variable only allocates a memory space for it, and the value stored in this memory is uncertain.