Is new line printed or it just bring the cursor down? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is new line printed or it just bring the cursor down?

cout<< "\n << endln"

21st Mar 2018, 5:51 AM
Jay Jay
Jay Jay - avatar
2 Answers
+ 2
It's printed, which moves the cursor down.
21st Mar 2018, 6:06 AM
Timon Paßlick
+ 1
printed in new line
17th Apr 2018, 9:37 AM
Masoud Rabiee
Masoud Rabiee - avatar