Some characters from the C and C++ character set are not
available in all environments. You can enter these characters into a C
or C++ source program using a sequence of three characters called a
trigraph. The trigraph sequences are:
Trigraph | Single character | Description |
---|---|---|
??= | # | pound sign |
??( | [ | left bracket |
??) | ] | right bracket |
??< | { | left brace |
??> | } | right brace |
??/ | \ | backslash |
??' | ^ | caret |
??! | | | vertical bar |
??- | ~ | tilde |
The preprocessor replaces trigraph sequences with the corresponding single-character representation.
Related References
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.