Do we need to escape characters when using stringizing operator? If yes then why the code below is not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do we need to escape characters when using stringizing operator? If yes then why the code below is not working?

https://code.sololearn.com/cOOlVgQyaj4o/?ref=app

25th Apr 2020, 7:35 PM
Manthan Gohel
Manthan Gohel - avatar
3 Answers
+ 2
coffeeunderrun But in the lesson's example, the "123 \\ 75" was used and the output was "123 \ 75".
25th Apr 2020, 7:54 PM
Manthan Gohel
Manthan Gohel - avatar
+ 2
coffeeunderrun yeah, but i tried to remove 1 "\" from "123 \\ 75" that is "123 \ 75", then the outpu was only "123".
25th Apr 2020, 8:11 PM
Manthan Gohel
Manthan Gohel - avatar
+ 1
coffeeunderrun Sorry, but can you explain a little please.
26th Apr 2020, 7:12 AM
Manthan Gohel
Manthan Gohel - avatar