What’s the difference between \n (newline) and \r (carriage return)?

What’s the difference between \n (newline) and \r (carriage return)?
0.0 0

#1

What’s the difference between \n (newline) and \r (carriage return)?


#2

google it.