FYI these (\r\n) are called “escape sequences” - carriage return and new line ( line feed)
Oldies but goodies.
FYI, “escape sequences” have an “ESC” (2710, 338 or 0x1b) character in them - carriage-return/line-feed are single characters and cannot therefore be described as “escape sequences”, they are simple control characters.
Certain characters can be represented in character and string constants by escape sequences like \n (newline);
It is called an escape sequence because the \ tells the compiler to stop treating the characters "normally" and treat them as special characters. i.e., it "escapes" the normal processing of characters. There is no char 27 in a typical newline, just the line feed or cr.