title: C ternary : do two distinct things
body: <p>I was asking myself if its was possible to do something like that : </p>
  
  <pre><code>condition ? do this &amp;&amp; THIS : else;
  </code></pre>
  
  <p>like :</p>
  
  <pre><code>nb = (nb1 + nb2) &gt; 9 ? (nb1 + nb2) % 10 &amp;&amp; nb1 + 1 : 0;
  </code></pre>
  
  <p>Note this is just an example, it means nothing.</p>