title: What is value of EOF and '\0' in C
body: <p>I know that <code>EOF</code> and <code>'\0'</code> are of type integers, but if so shouldn't they have a fixed value?</p>
  
  <p>I printed both and got -1 for <code>EOF</code> and 0 for <code>'\0'</code>. But are these values fixed?</p>
  
  <p>I also had this</p>
  
  <pre><code>int a=-1;
  
  printf("%d",a==EOF); //printed 1
  </code></pre>
  
  <p>Are the value for <code>EOF</code> and <code>'\0'</code> fixed integers? </p>