+ 1
Use of \
Why in this example we dont need the \ before te " to print the quotation marks??
2 Respuestas
+ 1
it would help if you could provide a link to (Or a copy of) the example you are referring to.
+ 1
The \ is the escape character. Since most languages would recognize the " as the end of a string, it would cause an error. So we need to escape it in order to see it. The escape character is put at the front of the thing you're trying to escape. This basically tells the compiler to not recognize that as anything.