can someone help and teach me how to use this symbol \ and what is it for? I often see it in statements & have no idea :< | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

can someone help and teach me how to use this symbol \ and what is it for? I often see it in statements & have no idea :<

17th Sep 2022, 12:38 PM
ivor
ivor - avatar
1 Resposta
+ 5
Add the statements here which you don't understand... The symbol \ is used in eacape sequence. The \ symbol before sone characters makes it special purpose character.. \n => new character \r => carriage return \\ => include \ in string. \b => back space character. \" => add quote " In string. May be some more... Hope it helps...
17th Sep 2022, 12:55 PM
Jayakrishna šŸ‡®šŸ‡³