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
\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
Any doubt or suggestion write here. I will try my best to help. Before posting your code you must escape it to view. To format your source code and use format highlighting, post your source code inside
< pre>< code >----Your Source Code---- < / code > < / pre > (Remove spaces from pre and code tags)

No comments:

Post a Comment