Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is a static array? What's the role? Please introduce it in detail.
What is a static array? What's the role? Please introduce it in detail.
The difference between a static array and a "dynamic" AUTO is that the memory allocated by the compiler is inconsistent. Static types will always exist in memory, while automatic types will only allocate memory when calling the compiler, so when defining local variable arrays, only static types can be initialized. However, it seems that the ANIC c standard can also initialize auto.