title: Using return vs return 0 for main function in c
body: <p>In my book on C, the author usually formats <code>main()</code> like this:</p>
  
  <pre><code>main()
  {
       /* Some code */
       return;
  }
  </code></pre>
  
  <p>But sometimes, he formats <code>main()</code> like this:</p>
  
  <pre><code>main()
  {
       /* Some code */
       return 0;
  }
  </code></pre>
  
  <p>What's the difference?  Does it matter?</p>