My 2 Cents What Is Stream Insertion

Swati Mishra

Content Writer
Stream classes have their own member data, function and definitions. The ostream class contains functions defined for the output operations. These operations are called stream insertions.
The header file iostream contains the definitions of operator “<<” that is called inserter and the object cout, which is attached to the standard output device, which is screen.
Example
Cout << “good morning”;
 
Top