+ 1
Cout
can't we use \n to print in next line without using "endl"
4 Respostas
+ 7
You can, but endl is recommended.
+ 2
Cout<<"Hello \n world ";
+ 2
Endl is the same as '\n' and it flushes the buffer.
0
which gives the out put
can't we use \n to print in next line without using "endl"