Streams as Arguments to Functions

  1. Streams can be an argument to a function.

  2. The function's formal parameter for a stream must be a call-by-reference parameter .

  3. The following section shows an example of such a function.