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!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 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 🇮🇳