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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 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 🇮🇳