Escape sequences
Escape sequences
Escape sequences are used to represent certain special characters within string literals and character literals.
The following escape sequences are available (extra escape sequences may be provided with implementation-defined semantics):
Escape sequence | Description | Representation |
---|---|---|
\' | single quote | byte 0x27 in ASCII encoding |
\" | double quote | byte 0x22 in ASCII encoding |
\? | question mark | byte 0x3f in ASCII encoding |
\\ | backslash
|