title: Adding signed and unsigned int
body: <pre><code>int main()
  {
    unsigned int a=6;
    int b=-20;
  
    (a+b)&gt;6?puts("&gt;6"):puts("&lt;=6");
  }
  </code></pre>
  
  <p>It is clear to me how the <em>ternary operator</em> work in this code. I am not able to understand the addition of the <em>signed</em> and <em>unsigned integer</em> here.</p>
  
  <p>Tried Running the code ,output is ">6", why?</p>