Talk:c/language/escape

Third and fourth notes
The first sentence of this page mentions that escape sequences may appear in both string literals and character constants. The third and fourth notes, which are about octal and hex escape sequences, seem to have a bias toward string literals only. Should the notes mention how the escape sequences terminate in a character constant? For example, how do '\0052' and '\005288' terminate? Both seem to lead to the implementation-defined behavior of the multicharacter character constant. Newatthis (talk) 05:42, 23 November 2016 (PST)
 * The rules are identical (in 6.4.5p4 "The same considerations apply to each element of the sequence in a string literal as if it were in an integer character constant ... or a wide character constant ..."). Octal note didn't mention strings; I updated the hex note to mention both strings and characters. --Cubbi (talk) 07:20, 23 November 2016 (PST)