Skip to main content

Section 18.3 Functions And The Stack

Now that we have a basic understanding of how variables in the main() function are stored in the stack, what happens if we introduce new variables in a different function? How do the variables in various functions interact with one another in the computer’s memory?
In the following video, we will explore how functions and their variables interact with memory:

If you cannot see this codecast, please click here.

Aside: Video Description.