Quantcast
Channel: Call stack starts at bottom or top? - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 5

Call stack starts at bottom or top?

$
0
0

A stack is something that piles bottom-up.

Hence a call stack adds new items on the stack when functions are called with items being removed from the stack as each function ends until the stack is empty and then the program ends.

If the above is correct, why do people refer to control moving "up" the call stack? Surely control moves down the call stack until it reaches the bottom.


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles



Latest Images