Why does it matter what way the \ go | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Why does it matter what way the \ go

13th Feb 2017, 11:11 PM
leetron
3 Respuestas
+ 3
Well... It matters if you type a or b, so it matters if you type / or \ . These are all different characters. Try it at the code playground. \ is special: it is an escape sequence. Try \n newline \t tab \? question mark There are some more, but that will do for the beginning.
13th Feb 2017, 11:46 PM
Tashi N
Tashi N - avatar
+ 1
I never really thought of it like that before
13th Feb 2017, 11:53 PM
leetron
+ 1
Really the answer is because it does. Sorry but theres isnt a reason its just syntax
14th Feb 2017, 11:41 AM
Chase