Different Between \r and \n

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

Thanks.

Great question. Iā€™m going to refer you to this answer:

1 Like