應當是很基本的東西,但老是記不起來…基礎果然沒打好啊
local variables-->stack
initialized global variable-->data memory ( .data segment in gcc )
initlaized static variable --> data memory
uninitialized global variable-->data memory ( .BSS( Block start by Symbol) segment in gcc )
uninitlaized static variable --> data memory
register variable-->register
全站熱搜
留言列表