Streams as Arguments to Functions
Streams can be an argument to a function.
The function's formal parameter for a stream must be a call-by-reference parameter .
The following section shows an example of such a function.