title: Difference between char and int when declaring character
body: <p>I just started learning C and am rather confused over declaring characters using int and char. </p>
  
  <p>I am well aware that any characters are made up of integers in the sense that the "integers" of characters are the characters' respective ASCII decimals. </p>
  
  <p>That said, I learned that it's perfectly possible to declare a character using <code>int</code> without using the ASCII decimals. Eg. declaring variable <code>test</code> as a character <code>'X'</code> can be written as:</p>
  
  <pre><code>char test = 'X';
  </code></pre>
  
  <p>and</p>
  
  <pre><code>int test = 'X';
  </code></pre>
  
  <p>And for both declaration of character, the conversion characters are <code>%c</code> (even though test is defined as <code>int</code>). </p>
  
  <p>Therefore, my question is/are the difference(s) between declaring character variables using <code>char</code> and <code>int</code> and when to use <code>int</code> to declare a character variable? </p>