Different Between \r and \n

Different Between \r and \n
0

#1

I am going over escape sequences and wondering what the difference between \r carriage return and \n newline is?

Thanks.


#2

Great question. I’m going to refer you to this answer: