Write difference between cout and cin.
Answers
Answered by
2
Cin is an object of the input stream and is used to take input from input streams like files, console, etc. Cout is an object of the output stream that is used to show output. Basically, cin is an input statement while cout is an output statement. They also use different operators.
Similar questions