Answer: Difference between "\n" and "\r"?

setevoy profile image Arseny Zinchenko ・1 min read

In terms of ascii code, it's 3 -- since they're 10 and 13 respectively;-).

But seriously, there are many:

  • in Unix and all Unix-like systems, \n is the code for end-of-line, \r means nothing special
  • as a consequence, in C and most languages that somehow copy it (even remotely), \n


markdown guide