What’s the difference between \n (newline) and \r (carriage return)?
\n
\r
In particular, are there any practical differences between \n and \r? Are there places where one should be used instead of the other?