Is \n multi-character in C?
问题 I read that \n consists of CR & LF. Each has their own ASCII codes. So is the \n in C represented by a single character or is it multi-character? Edit: Kindly specify your answer, rather than simply saying "yes, it is" or "no, it isn't" 回答1: Generally: '\n' is a single character, which represents a newline. '\r' is a single character, which represents a carriage-return. They are their own independent ASCII characters. Issues arise because in the actual file representation, UNIX-based systems