Stack memory

Stack memory is a part of a process' virtual memory. The stack works like a LIFO data structure and stores variables. The pop and push operations are used to interact with the stack.