title: Using printf function without actually importing stdio.h and it worked?! Why is that so?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/336814/why-include-stdio-h-is-not-required-to-use-printf">Why #include &lt;stdio.h&gt; is <em>not</em> required to use printf()?</a>  </p>
  </blockquote>
  
  
  
  <pre><code>//#include &lt;stdio.h&gt;
  //#include &lt;conio.h&gt;
  
  main(){
  
  printf("Hi");
  getch();
  
  }
  </code></pre>
  
  <p>As I was programming this, it shocked me that it worked without actually importing any c libraries such as stdio that contains the printf function. Why is that so? (Used Dev-C++ 4.9.9.2, saved as .c, not .cpp) </p>