0
Why in the 2nd part there are double backslash
Enter something please: This is what\nthe user enters! 'This is what\\nthe user enters!'
1 Answer
+ 2
People generally do it to print "\n" to the screen. "\\" is an escape sequence that returns a single backslash.