title: Who is responsible for cleanup?
body: <p>I wish to know which one is responsible for cleanup of the stack </p>
  
  <p>Suppose you have a function fun lets say like this:</p>
  
  <pre><code>var = fun(int x, int y, float z, char x);
  </code></pre>
  
  <p>when <code>fun</code> will get called it will go into the stack along with the parameters then when the function returns who is responsible for cleanup of the stack is it the function it self or the "var" which will hold the return value.</p>
  
  <p>One more thing, can anyone explain the concepts of calling conventions?</p>