title: Char Subtraction in c++
body: <p>I am fairly new to C++ and i have some trouble in understanding character subtraction in c++.</p>
  
  <p>I had this code intially</p>
  
  <pre><code>char x='2';
  x-='0';
  if(x) cout &lt;&lt; "More than Zero" &lt;&lt; endl;
  </code></pre>
  
  <p>This returned More than Zero as output so to know the value of x i tried this code.</p>
  
  <pre><code>char x='2';
  x-='0';
  if(x) cout &lt;&lt; x &lt;&lt; endl;
  </code></pre>
  
  <p>And i am getting null character(or new line) as output.</p>
  
  <p>Any help is appreciated.</p>