1
2Escape sequence Hex value in ASCII Character represented
3\a 07 Alert (Beep, Bell) (added in C89)[1]
4\b 08 Backspace
5\enote 1 1B Escape character
6\f 0C Formfeed Page Break
7\n 0A Newline (Line Feed); see notes below
8\r 0D Carriage Return
9\t 09 Horizontal Tab
10\v 0B Vertical Tab
11\\ 5C Backslash
12\' 27 Apostrophe or single quotation mark
13\" 22 Double quotation mark
14\? 3F Question mark (used to avoid trigraphs)
15\nnnnote 2 any The byte whose numerical value is given by nnn interpreted as an octal number
16\xhh… any The byte whose numerical value is given by hh… interpreted as a hexadecimal number
17\uhhhhnote 3 none Unicode code point below 10000 hexadecimal
18\Uhhhhhhhhnote 4 none Unicode code point where h is a hexadecimal digit
19
20 //code by gokul aakash