1.

Explain the cascading of input and output operators?

Answer»

Cascading is a way to extract/insert multiple values from/into more than one variable using one cin/cout statement. Cascading of output operator (>>):

cout << “Value of B=” << b; Cascading of input operator (>>):

int n1, n2, n3;



Discussion

No Comment Found

Related InterviewSolutions