To insert a newline and flush the output stream.
template < class charT, class traits > basic_ostream<charT, traits> & endl (basic_ostream<charT,traits>& os);
The manipulator endl takes no external arguments, but is placed in the stream. It inserts a newline character into the stream and flushes the output.
A reference to basic_ostream. The this pointer is returned.