title: What happens with the return value of main()?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/204476/what-should-main-return-in-c-c">What should main() return in C/C++?</a>  </p>
  </blockquote>
  
  
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
      return 0;
  }
  </code></pre>
  
  <p>In the code snippet given above, where does the return 0 returned by main go? Or in other words which function called the main function in the beginning.</p>