MY mENU


Tuesday 3 April 2012

When function say abc() calls another function say xyz(), what happens in stack?


When some function xyz() calls function abc(). all the local variables, static links, dynamic links and function return value goes on the top of all elements of function xyz() in the stack. when abc() exit it's return value has been assigned to xyz().

No comments:

Post a Comment