What is input and output cascading with an example?
Answers
Answered by
1
Answer:
The multiple use of input or output operators (“>>”or”<<”) in one statement is called cascading of I/O operator. The statement using multiple output operators (“>>”) is said to be cascading output operator and the statement involving multiple use of input operators (“<<”) is said to be cascading input operator.
Explanation:
The cascading is a way to extract/insert multiple values from/into more than one variable using one cin/cout statement. The multiple use of << or >> in one statement is known of cascading.01
Similar questions