1) The activation record stores the return address for this
function call, and also the parameters, local variables, and the
function’s return value, if non-void. It is pushed
onto typically an "Activation
Stack Record (run-time stack)".
2)The activation record for a particular function call is popped
off the run-time stack when
the final closing brace in the function code is reached, or when
a return statement is reached in the function code.
3)At this time the function’s return value, if non-void, is
brought back to the calling block return address for use there.
|