title: Error in compilation of "Hello World" program
body: <p>I am trying to run a simple program below on my mac using CodeBlocks IDE:</p>
  
  <pre><code>    1.  #include &lt;stdio.h&gt;
  
      2.  int main()
      3.  {
      4.     // printf() displays the string inside quotation
      5.     printf("Hello, World!");
      6.     return 0;
      7.  }
  
  </code></pre>
  
  <p>but I get the following error: </p>
  
  <blockquote>
    <p>error: expected identifier or '('</p>
  </blockquote>
  
  <p>As the machine is trying to compile, I think gcc compiler is working fine. </p>