
\ 0 is the most commonly used octal escape sequence, because it represents the terminating null character in null-terminated strings. None of these names or aliases have leading or trailing spaces.


These aliases are listed in the Unicode Character Database’s NameAliases.txt. It designates the corresponding character in the Unicode Standard ( chapter 4.8 Name) if the n-char-sequence is equal to its character name or to one of its character name aliases of type “control”, “correction”, or “alternate” otherwise, the program is ill-formed. If a universal character name does not correspond to a scalar value of a character in the translation character set, the program is ill-formed.Ī character from the translation character set, except the right curly bracket } or new-line characterĪ universal character name of the syntax above is a named universal character. If a universal character name corresponding to a scalar value of a character in the basic character set or a control character appear outside a character or string literal, the program is ill-formed.
C language ansi escape sequences code#
If a universal character name does not correspond to a code point in ISO/IEC 10646 (the range 0x0-0x10FFFF, inclusive) or corresponds to a surrogate code point (the range 0xD800-0xDFFF, inclusive), the program is ill-formed. If a universal character name used in a UTF-16/32 string literal does not correspond to a code point in ISO/IEC 10646 (the range 0x0-0x10FFFF, inclusive), the program is ill-formed. If a universal character name corresponds surrogate code point (the range 0xD800-0xDFFF, inclusive), the program is ill-formed. If a universal character name corresponding to a code point of a member of basic source character set or control characters appear outside a character or string literal, the program is ill-formed. In other words, members of basic source character set and control characters (in ranges 0x0-0x1F and 0x7F-0x9F) cannot be expressed in universal character names. If a universal character name corresponds to a code point that is not 0x24 ( $), 0x40 ( nor 0圆0 ( `) and less than 0xA0, the program is ill-formed. The character c in each conditional escape sequence is a member of basic source character set (until C++23) basic character set (since C++23) that is not the character following the \ in any other escape sequence.


Character Escape Sequence ASCII Value Back Space \ b 08 Bell (Alert) \ a 07 Horizontal Tab \ t 09 New Line \ n 10 Vertical Tab \ v 11 Form Feed \ f 12 Carriage Return \ r 13 Quotation Mark \" 34 Apostrophe \’ 039 Backslash \ \ 092 The Complete list of Escape Characters are Listed Below along with their ASCII value. '\t' which will be used to represent the Tab. Similarly, We use to print the tab, We will use the backslash ' \' and character This type characters refers to single sequence even though they are written in two characters. An Escape sequences in C Language always start with the backslash ( \ ) character and followed by one or more characters.įor Example the new line character in C printed by using '\n'Escape Character.
