Is the allocated memory to variable number is on heap or stack?

前端 未结 0 961
谎友^
谎友^ 2021-01-19 03:18

I was wonderding if i declear a variable inside a function is it allocated on stack or heap.
Say i have this example .

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题