title: Where does the returned value for 'main' function go?
body: <p>In C, a function <strong>always</strong> returns its value to the calling function and never to itself (<strong>if return type is not void</strong>). Like,</p>
  
  <pre><code>int main()
  </code></pre>
  
  <p>But since '<strong>main</strong>' function is <strong>called by the Operating System</strong>, which is <strong>not a function</strong>. So, whom does the 'main' function returns its value? Where does the value go, when its returned using the expression </p>
  
  <pre><code>return(0);
  </code></pre>
  
  <p>at the end of the program?</p>