大家好,又见面了,我是全栈君。
1 变量类型
1.1 static
global or static
.data/.bss
1.2 automic
stack,its relevant to os kernel and compiler
1.3 dynamic
malloc()
2 life time
static as long as the program.
automic as long as the function.
synamic live until free
转载于:https://www.cnblogs.com/hustdc/p/7396738.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/108222.html原文链接:https://javaforall.net