Escape Sequences In C

Escape Sequences

Special escape sequences are recognized and are introduced by the backslash character. These escape sequences are listed here:

Escape Sequences Character Based

Audible alert


Form feed

New line

Carriage return

Horizontal tab

Vertical tab


Escape Sequences Symbol Based


Double quote

Single quote

Question Mark


Escape Sequences Advnaced Usage

Octal character value

Universal character name

Universal character name

Hexadecimal character value

In the octal character case, from one to three octal digits can be specified. In the last three cases, hexadecimal digits are used.