Completion requirements
This chapter explains how input and output streams can be used for writing files, similar to how they are used for writing to the display.
3. Types of Sources and Destinations
Answer:
Yes. (It could also be an output stream.)
Types of Sources and Destinations
There are many types of I/O devices. Some can be a source, others can be a destination, and others can be both source and destination. Often the destination for one stream is the source for another. In the table, decide what role each object can play.
Some objects switch roles depending on what program is running. For example a disk file might be the destination for the output of one program, and later it may be the source for another program.
Question 3:
Do you think it is possible for a program to use several input and several output streams?