Lecture 13 Slides - Suraj @ LUMS
Lecture 13 Slides - Suraj @ LUMS
Lecture 13 Slides - Suraj @ LUMS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Implementing Subprograms withStack-Dynamic Local Variables• The activation record format is static, butits size may be dynamic• The dynamic link points to the top of aninstance of the activation record of thecaller• An activation record instance isdynamically created when a subprogramis calledAn Example C Functionvoid sub(floattotal, int part){int list[4];float sum;…}[4][3][2][1][0]5