title: Tilde C unsigned vs signed integer
body: <p>For example:</p>
  
  <pre><code>unsigned int i = ~0;
  </code></pre>
  
  <p><strong>Result</strong>: Max number I can assign to <code>i</code></p>
  
  <p>and</p>
  
  <pre><code>signed int y = ~0;
  </code></pre>
  
  <p><strong>Result</strong>: <code>-1</code></p>
  
  <p>Why do I get <code>-1</code>? Shouldn't I get the maximum number that I can assign to <code>y</code>?</p>