title: Practical difference between int and char
body: <p>I have to analyse the output of these code fragments:</p>
  
  <pre><code>int x, y;
  x = 200; y = 100;
  x = x+y; y = x-y; x = x-y;
  printf ("%d %d\n", x, y);
  
  char x, y;
  x = 200; y = 100;
  x = x+y; y = x-y; x = x-y;
  printf ("%d %d\n", x, y);
  </code></pre>
  
  <p>So, I know now that <code>int</code> stands for integer and <code>char</code> for character; I've read about the differences and if I put in the <code>printf</code> the <code>%d</code>, it returns in the form of digits, and <code>%c</code>, in the form of a character.</p>
  
  <p>The ASCII character code for <code>'A'</code> is 65 for example, but why does the second function print <code>100 -56</code>, instead of <code>100 200</code>?</p>