Backslash Conventions

The C backslash conventions and their meanings are as follows:

Convention Meaning
\a Alert (0x07)
\b Backspace (0x08)
\f Form feed (0x0c)
\n Newline (0x0a)
\r Carriage return (0x0d)
\t Horizontal tab (0x09)
\v Vertical feed (0x0b)
\\ Backslash (0x5c)
\" Quotation mark (0x22)
\' Single quote (0x27)
\nnn Character whose octal value is nnn (where n is 0-7)
\Xnn Character whose hexadecimal value is nn (where n is 0-9, a-f, or A-F)