Character representations

Character representations
Sequence Description
\a Alert (bell).
\b Backspace.
\e ESC character, \x1b.
\n Newline.
\r Carriage return.
\f Form feed, \x0c.
\t Horizontal tab, \x09.
\v Vertical tab, \x0b.
\oct Character specified by a three-digit octal code.
\xhex Character specified by a hex code.
\cchar Named control character.

关注编程学问公众号