Multiple choice

Which one of the following provides conceptual support for function calls?

  1. The system stack

  2. The data segment

  3. The processor's registers

  4. The text segment

  5. The heap

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The system stack provides the LIFO structure needed for function calls, storing return addresses, local variables, and parameters. When a function is called, a new stack frame is pushed; when it returns, the frame is popped, restoring execution state. The data segment holds global/static variables, registers are for CPU operations, text segment contains code, and heap is for dynamic allocation - none support call/return mechanics.