Functions with reference parameters and no return value

The program in Listing 4 is identical to the previously-discussed program in Listing 3 with one important exception.

The exception

The exception is the inclusion of the reference operator & in front of the x in the formal parameter list for the function named aFunction.

Not a trivial change

This change produces a major difference in the behavior of this program relative to the previous program.