What's the defernt between Endl and /n | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the defernt between Endl and /n

2nd Jan 2017, 11:35 AM
omar
5 Answers
+ 3
"/n" it's not right.. the correct syntax is "\n". look at the past q&a there are many valid answers..
2nd Jan 2017, 12:01 PM
Michael Isac Girardi
Michael Isac Girardi - avatar
+ 1
There is no difference between \n and endl
3rd Jan 2017, 1:33 PM
Lucas Pango
+ 1
There is no difference between \n and endl
3rd Jan 2017, 1:33 PM
Lucas Pango
0
There is no difference.
2nd Jan 2017, 12:11 PM
Aditya Agarwal
Aditya Agarwal - avatar
0
you used slash instead of backslash...
2nd Jan 2017, 12:20 PM
Lynah