In c, output is given by "printf()"
In c++, output is given by "cout << "
As c++ is an advanced version of c (with oops) so you can use printf in c++ too by including cstdio library
"<<" is also a bitwise operator.
whereas "<" is a binary operator (comparison).