361 B
361 B
id | title | tags | created | |
---|---|---|---|---|
1fig | Stack_and_heap_memory |
|
Tuesday, April 16, 2024 |
Stack and heap memory
During runtime programs make use of two types of memory: stack and heap.
Stack memory
Similarly to the stack data structure works on hte basis of LIFO: the last item put on the stack is the first item to be withdrawn.