Why new line use double \n‚ and new lines not. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

Why new line use double \n‚ and new lines not.

2nd Feb 2018, 3:36 AM
shubham
3 Answers
+ 7
std::cout << "Hi\nthere"; Hi there std::cout << "Hi\n\nthere"; Hi there // 🤔
2nd Feb 2018, 3:55 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
I am not sure what you are asking for.
2nd Feb 2018, 3:53 AM
Manual
Manual - avatar
+ 1
\t try it
30th Aug 2018, 7:42 AM
Halit Yeşildal
Halit Yeşildal - avatar