0
Why we use endl at the end of cout??
5 Answers
+ 3
To break lines.
If you do:
cout << "This is a line";
cout << "This is another line";
you will get the beautiful output of:
"This is a lineThis is another line";
If you use endl, it will do a line break.
+ 1
Thx swim
0
Thx airee