Multiple choice

A C++ stream is

  1. the flow of control through a function

  2. a flow of data from one place to another

  3. not related to a class

  4. takes no arguments

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In C++, a stream is an abstraction that represents a device on which input and output operations are performed. It acts as a flow of data between a source and a destination.