title: The ASCII value of '\0' is same as ASCII value of 0?
body: <p>I learned the ASCII value of '\0' is 0, and the ASCII value of 0 is 0x30, but when I try to print their ASCII value using printf, I get the same output:</p>
  
  <pre><code>printf("\'\\0\' : %d\n", '\0');
  printf("\'\\0\' in hex : %x\n", '\0');
  printf("0 : %d\n", 0);
  printf("0 in hex: %x\n", 0);
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>'\0' : 0
  '\0' in hex : 0
  0 : 0
  0 in hex: 0
  </code></pre>
  
  <p>why?</p>