What does it mean to return a value?
One way to describe the returning of a value by a function is to say:
- If a call to a function is
contained in an expression,
- When control return from the
function,
- That call to the function will effectively have been replaced by the
returned value.