Skip to content

Commit

Permalink
On escape sequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
janpgit committed Jul 4, 2024
1 parent 3e359ae commit 85388bf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,13 @@ printf("%ld", 13LL);
// --> ??
```
- Escape sequences `\ooo` and `\xhh` (not `\Xhh`) are character sized bit
## Escape sequences
- *escape sequences* `\ooo` and `\xhh` (not `\Xhh`) are character sized bit
patterns, either specified as octal or hexadecimal numbers, and representing a
single character. They can be used both in string and character constants
constants.
single character. They can be used both in string and character constants.
- see *5.2.1 Character sets* and *6.4.4.4 Character constants* for more
information
```C
printf("\110\x6F\154\x61"); // Used in a string literal.
Expand Down

0 comments on commit 85388bf

Please sign in to comment.