c++ cout

The "cout" in C++ is an object of the "ostream" class, and it is used to produce output on the standard output device which is usually the display screen. The "<<" operator is used to insert the content to be displayed with "cout". After the "<<" operator, the content to be displayed is specified. The "endl" is used to insert a new line and flush the output buffer.