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,
\nis the code for end-of-line,
\rmeans nothing special
- as a consequence, in C and most languages that somehow copy it (even remotely),