Book
Collection
Click for Table of Contents
© 2025 by Rance D. Necaise
C Primer for Python Programmers
Copyright © 2025
Rance D. Necaise
Appendix C
Character Codes

Escape sequences are specially delimited characters that can be used in literal strings or characters to represent non-printable or special characters. The escape sequences that can be used in C listed in the table below.

Escape SequenceDescription
\n Newline
\r Carriage return
\t Tab
\v Vertical tab
\b Backspace
\f Form feed
\a Alert
\\ Backslash
\" Double quote (used to include a double quote within a literal string)
\' Single qoute (used to include a single quote within a literal character)
\? Question mark