- 1

For what we using \n in the end? When we print?

16th Apr 2017, 8:08 PM
DomDom
8 Réponses
+ 13
\n new line (one tab vertical space ) \t tab space ( one tab horizental space)
17th Apr 2017, 1:50 AM
Prudhvi Raaj
Prudhvi Raaj - avatar
+ 11
to shift to the next line.
16th Apr 2017, 8:17 PM
Nikolay Nachev
Nikolay Nachev - avatar
+ 5
@Nikolay I remember C had that used for something else along with that.
16th Apr 2017, 9:00 PM
Manual
Manual - avatar
+ 5
It was for using" \ "to read the entire line, including symbols as strings.
16th Apr 2017, 11:03 PM
Manual
Manual - avatar
0
\n is a new line, from the times of c language, 1969
16th Apr 2017, 9:58 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
- 1
\n allows the code to be written on the next line after the previous one.
16th Apr 2017, 9:19 PM
Jecinta Ogola
Jecinta Ogola - avatar
- 1
it's like pressing enter
16th Apr 2017, 9:25 PM
Christopher Vegerano
Christopher Vegerano - avatar
- 1
\n for new line
17th Apr 2017, 12:11 PM
Sumita
Sumita - avatar