--- id: 1fig title: Stack_and_heap_memory tags: [memory] created: 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. ## Related notes