Functions with value parameters and no return value

C++ allows a parameter to be passed to a function either by value or by reference.

The difference can be very significant as will be illustrated by the next two sample programs.