What is difference between \n and \r?

Posted by terrani on Stack Overflow See other posts from Stack Overflow or by terrani
Published on 2010-03-13T19:57:32Z Indexed on 2010/03/13 20:05 UTC
Read the original article Hit count: 113

Filed under:

Hi,

What is difference between \n (newline) and \r (carriage return)? They both move current cursor to the next line. Are they same?

© Stack Overflow or respective owner

Related posts about special-characters