Home >Backend Development >C#.Net Tutorial >What does '\n' mean in C language
In C language, "\n" means carriage return and line feed, which moves the current position to the beginning of the next line. Similarly, "\t" represents a horizontal tab character, moving the current position to the next tab position; "\r" represents a carriage return, moving the current position to the beginning of the line.
In C language, \n means carriage return and line feed, moving the current position to the beginning of the next line.
(Recommended learning: C Language Tutorial)
Related introduction:
\t \r \n are all escape characters, and spaces are simple Spaces, you can enter spaces
\t when inputting, which means: horizontal tab character. Move the current position to the next tab position.
\r means: Enter. Moves the current position to the beginning of the line.
\f means: page change. Move the current position to the beginning of the next page.
The above is the detailed content of What does '\n' mean in C language. For more information, please follow other related articles on the PHP Chinese website!