Skip to content

Instantly share code, notes, and snippets.

@AALEKH
Created May 28, 2022 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AALEKH/162d6c6414d2b85c5e95c52836bb291e to your computer and use it in GitHub Desktop.
Save AALEKH/162d6c6414d2b85c5e95c52836bb291e to your computer and use it in GitHub Desktop.
escape sequences in C
\a Write a <bell> character.
\b Write a <backspace> character.
\f Write a <form-feed> character.
\n Write a <new-line> character.
\r Write a <carriage return> character.
\t Write a <tab> character.
\v Write a <vertical tab> character.
\´ Write a <single quote> character.
\\ Write a backslash character.
\num Write a byte whose value is the 1-, 2-, or 3-digit octal number num. Multibyte characters can be constructed using multiple \num sequences.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment