From 85388bf9f8770a22814d9bd4afa2b313072cc465 Mon Sep 17 00:00:00 2001 From: Jan Date: Thu, 4 Jul 2024 16:11:27 +0200 Subject: [PATCH] On escape sequences. --- modules/numbers.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/numbers.md b/modules/numbers.md index 5992457b..92450ac3 100644 --- a/modules/numbers.md +++ b/modules/numbers.md @@ -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.