[C Language] Common escape characters in C language

escape character Definition
? Used when writing multiple question marks in a row to prevent them from being parsed into three-letter words
\’ used to represent character constants'
\“ Used to represent double quotes inside a string
\| is used to represent a backslash, preventing it from being interpreted as an escape sequence character
\a Warning character, buzzer
\b backspace character
\f paper feed character
\n newline
\r Enter
\t horizontal tab
\v vertical tab
\ddd ddd represents 1 to 3 octal digits. For example: \130 X
\xdd dd represents 2 hexadecimal digits. For example: \x30 0

The above are some of the more common escape characters in C language that I have collected. If you have any more, please leave additional messages in the comment area. Thanks♪(・ω・)ノ

Guess you like

Origin blog.csdn.net/Daears/article/details/127424197