title: Assigning negative numbers to an unsigned int?
body: <p>In the C programming language, <code>unsigned int</code> is used to store positive values only. However, when I run the following code:</p>
  
  <pre><code>unsigned int x = -12;
  printf("%d", x);
  </code></pre>
  
  <p>The output is still -12. I thought it should have printed out: 12, or am I misunderstanding something?</p>