Skip to content

Instantly share code, notes, and snippets.

@shaobin0604
Created October 29, 2009 15:06
Show Gist options
  • Save shaobin0604/221499 to your computer and use it in GitHub Desktop.
Save shaobin0604/221499 to your computer and use it in GitHub Desktop.
complete escape characters in ansi c
\a alert (bell) character
\b backspace
\f formfeed
\n newline
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\? question mark
\' single quote
\" double quote
\ooo octal number
\xhh hexadecimal number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment