Escape sequence

An escape sequence in C language is a sequence of characters that doesn't represent itself when used inside string literal or character. It start with '\'.

Escape sequence Meaning
\n New line
\a Alarm
\t Carriage Return
\b backspace
\t Tab(Horizontal)
\v Vertical Tab
\\ Backslash
\0 Null
\? question Marks.
\nnn Octal number
\xhh Hexadecimal number