Stack, heap, static global variables

Local variables and parameters are placed inside the stack, the initiative put, passive release

Heap, take the initiative to put the initiative to release, or does not release

Static global variables throughout the program storage, global storage, but not necessarily global access

Published 127 original articles · won praise 10 · views 10000 +

Guess you like

Origin blog.csdn.net/chanleoo/article/details/104106146
Recommended