title: What happens to FILE pointer after file is closed?
body: <p>I wish to know what happens to FILE pointer after the file is closed. Will it be NULL?</p>
  
  <p>Basically, I want to check if a file has already been closed before closing a file.</p>
  
  <p>For example as follows:</p>
  
  <pre><code>FILE *f;
  
  if(f!=NULL)
  {
    fclose(f);
  }
  </code></pre>
  
  <p>Can I do this or is there any other way to go about it?</p>