Call stack

/kɔl stæk/ noun

Definition

A data structure that stores information about the active functions in a program, tracking which function called which and where to return control when each function completes. It operates on a Last-In-First-Out (LIFO) principle.

Etymology

Combines 'call' from Old Norse 'kalla' (to cry out) and 'stack' from Old Norse 'stakkr' (haystack). The computing term emerged in the 1950s when programmers needed to track function calls, likening it to a stack of plates where the last one added is the first removed.

Kelly Says

The call stack is like a stack of sticky notes where you write down what you were doing before starting a new task. When you finish the current task, you look at the top note to remember what to do next - and that's exactly how your program remembers where to return after each function call!

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.