how does a program runs in memory and the way memory is handled by Operating system

前端 未结 3 556
别那么骄傲
别那么骄傲 2021-02-01 09:51

I am not clear with memory management when a process is in execution during run time

Here is a diagram \"enter

3条回答
  •  佛祖请我去吃肉
    2021-02-01 10:28

    Part 1. The Stack ...

    A function can call a function, which might call another function. Any variables allocated end up on the stack through each iteration. And de-allocated as each function exits, hence "stack". You might consider Wikipedia for this stuff ... http://en.wikipedia.org/wiki/Stack_%28abstract_data_type%29

提交回复
热议问题