The Stack
Let's learn about the stack and how it's useful in allocating memory for functions.
We'll cover the following...
So far we have seen how to declare basic type variables such as int
, double
, etc, and complex types such as arrays and structures. The way we have been declaring such variables, so far, puts these variables on the stack.
What is the stack?
It’s a special region of your computer’s memory that stores temporary variables ...