trigraphs

Controls the use of trigraph sequences specified in the ISO standards.

Syntax
  #pragma trigraphs on | off | reset
  
  
Remarks
If you are writing code that must strictly adhere to the ANSI standard, enable this pragma.
Table 1. Trigraph table
Trigraph Character
??= #
??/ \
??' ^
??( [
??) ]
??! |
??< {
??> }
??- ~
Note: Use of this pragma may cause a portability problem for some targets.

Be careful when initializing strings or multi-character constants that contain question marks.

Listing: Example of Pragma trigraphs

char c = '????'; /* ERROR: Trigraph sequence expands to '??^ */

char d = '\?\?\?\?'; /* OK */