Chapter 9 Subprograms

If the subprogram has formal parameters that allow the transfer of data to the caller, those parameters can be changed. Functions. provide user-defined operators which are semantically modeled on mathematical functions. If a function is a faithful model, it produces no side effects. It modifies neither its parameters nor any variables defined outside the function. Design Issues for Subprograms ... ................
................