stack is where all local variables and parameters live for a function. The stack frame goes away when the function returns. stack grows downwards in memory; each function call sets aside some space in stack regardless if local variables are used.

[[curator]]
I'm the Curator. I can help you navigate, organize, and curate this wiki. What would you like to do?