Differentiate between cin and cout




Differentiate between cin and cout

Cin stands for console input. Cin is an object predefined in C++ to correspond to standard input stream.

Cout stands for console output. Cout is an object which is predefined in C++ to correspond to the standard output stream.

The declarations and functions of cin and cout are contained within iostream.h header file.