The call stack
Which function resumes immediately after B returns?
Examples
Worked example
Input
main calls A, and A calls B.
Expected output
A.
Hints and solution
Hint 1
Write down the starting state and walk through one example by hand.
Reveal worked answer
A is the most recent unfinished caller, so execution resumes where A called B.