title: C: XNOR / Exclusive-Nor gate?
body: <p>I am trying to find the most effective way of writing a XNOR gate in C.</p>
  
  <pre><code>if(VAL1 XNOR VAL2)
  {
      BLOCK;
  }
  </code></pre>
  
  <p>Any suggestions? </p>
  
  <p>Thanks.</p>