5.2.1.1 Trigraph sequences

Previous Table of Contents

230 All occurrences in a source file of the following sequences of three characters (called trigraph sequences12)) are replaced with the corresponding single character.

231

??= #   ??) ]   ??! |
??( [   ??' ^   ??> }
??/ \   ??< {   ??- ~

232 No other trigraph sequences exist.

233 Each ? that does not begin one of the trigraphs listed above is not changed.

234 EXAMPLE The following source line


        printf("Eh???/n");

becomes (after replacement of the trigraph sequence ??/)


        printf("Eh?\n");

Next

Created at: 2009-09-25 02:18:53 The text from WG14/N1124 is copyright © ISO