A primer on some C obfuscation tricks
Is it bad that I've written some of these in my normal code? In particular, I use the concepts in these when they're relevant:<p><pre><code>  *(c ? &x : &y) = v;

  return (char *[]){"No", "Yes"}[!!x];
</code></pre>
(Note: for the second one, I use the "selecting from a temporary array" and !! separately; if I only had two options then I'd use x ? "Yes" : "No" of course.)