Answers/Solutions to Exercises in Chapter 5, Exercise 6
E6: What the following terms refer to: calling sequence, calling convention, return sequence, flow of control? How are they related to execution of functions?
A6: Calling sequence = sequence of steps taken by the program to
activate a function.
Calling convention -- stipulates how the arguments are passed to a
function and how and in what order they are evaluated (if passed by value)
Return convention -- stipulates how and in what way the returned
value is returned back to the caller.
Flow of control -- is a sequence of executions of instructions,
including function calls. It indicates at any moment of the execution of the program which
function is executing.
Back to Answers/Solutions Index Back to Answers/Solutions for Chapter 5 Index