Escape sequence characters

Escape characters are sequence of characters that are converted to some another character which are difficult to print directly. Escape characters begins with \ followed by escape character.

List of all escape sequence characters in C:

Escape character Description
\0 NULL
\a Alert (Beep)
\b Backspace
\e Escape
\f Formfeed (Return)
\n New line
\r Carriage return
\t Horizontal Tab (Eight blank spaces)
\v Vertical Tab
\\ Backslash
\' Single quotes
\" Double quotes
\? Question mark

You may also like
List of ASCII character codes

Labels: