Skip to main content

Cascading of I/O operator

 Cascading of Output Operator

If we use output operator '<<' (aka stream insertion operator or put to operator) multiple times in a single 'cout' statement then it is called cascading of output operator. It can be done 255 times max.


Cascading of Input Operator

If we use input operator '>>' (aka stream extraction operator or get from operator) multiple times in a single 'cin' statement then it is called cascading of input operator. 

Comments