3 ms·
No, that’s the next-to-last question. If they know that, you ask about digraphs <: and :> are [ and ] <% and %> are { and } %: is # (since C99, and expa
by Someone 4y ago
No, that’s the next-to-last question. If they know that, you ask about digraphs
<: and :> are [ and ]
<% and %> are { and }
%: is #
(since C99, and expanded a bit later than trigraphs)
‘Unfortunately’, none of the characters used here can be coded using trigraphs, so you can’t use trigraphs to generate digraphs in source.
- gpderetta 4y agoA very long time ago I had to write some throwaway code on a laptop with an European keyboard with {} in very inconvenient positions (requiring pressing the alt key). I resorted to digraphs and I don't regret it.