Alternative tokens

suggest change

C historically provided trigraphs for source environments that lacked characters used by the language. Trigraphs were removed in C23 and should appear only in historical or compatibility discussions. See Trigraphs (historical).

Digraphs are two-character spellings for several punctuators, such as <: for [ and %: for #. They remain part of C, but ordinary punctuator spellings are clearer on modern systems. See Digraphs.

Multicharacter constants such as 'AB' are a different feature. Their values are implementation-defined and they should not be used to encode portable file signatures or protocol values.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents