2019-05-12 07:04 AM
why is it equivalent to the use of global variables, the address will not change.
2019-05-12 07:51 AM
Local/automatic variables typically use the stack or are held in registers.
2019-05-12 11:50 AM
local variable in general are either pure registers then vanish, or temporary put in the stack.
If it's a global, static or volatile variable, compiler will handle it differently.