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.
1. Cascading of output operator (>>):
cout << ” Hello ” << ” ISC “;
cout << “Value of B=” << b;
2. Cascading of input operator (>>):
int n1, n2, n3;
cin >> n1 » n2 >> n3;
cin >> n1 >> n2;