This preview shows page 1. Sign up to view the full content.
Unformatted text preview: e that the function call f 3 g , g )returns 42 regardless of what
function g is passed in. Assuming heap-allocated activation records, draw what
the stack and heap would look like at the point where the statement marked X is
executed. Identify any assumptions you are making about the implementation.
www.c s.c or ne ll.e du/c our se s/CS4120/2011f a /hw/ps5/ps5.html 3/4 2/7/13 www.c s.c or ne ll.e du/c our se s/CS4120/2011f a /hw/ps5/ps5.html CS 4120 PS5 4/4...
View Full Document
This note was uploaded on 02/07/2013 for the course CS 4120 taught by Professor Andrewmyers during the Fall '09 term at Cornell University (Engineering School).
- Fall '09