Stack Memory
Stack Memory Stack is a linear data structure that follows the LIFO (Last-In-First-Out) principle. The stack is managed by the CPU, there is no ability to modify it. Variables are allocated and freed automatically. The stack it not limitless – most have an upper bound. The stack grows and shrinks as variables are created and destroyed Stack variables only exist whilst the function that created them exists Stack of Books Stack of Coins