I don't know for sure, but you're most likely to find digraphs and trigraphs being used in IBM mainframe environments. The EBCDIC character set doesn't include some characters that are required for C.
The other justification for digraphs and trigraphs, 7-bit ASCII-ish character sets that replace some punctuation characters with accented letters, is probably less relevant today.
Outside such environments, I suspect that trigraphs are more commonly used by mistake than deliberately, as in:
puts("What happened??!");
For reference, trigraphs were introduced in the 1989 ANSI C standard (which essentially became the 1990 ISO C standard). They are:
??= # ??) ] ??! |
??( [ ??' ^ ??> }
??/ ??< { ??- ~
The replacements occur anywhere in source code, including comments and string literals.
Digraphs are alternate spellings of certain tokens, and do not affect comments or literals:
<: [ :> ]
<% { %> }
%: # %:%: ##
Digraphs were introduced by the 1995 amendment to the 1990 ISO C standard.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…