In first code 23 is displayed because X=44 was assigned to the identifier that
was local in the block.
In 2nd code 44 is displayed as contents of the cell are changed and same is
displayed.
Subscribe to:
Post Comments (Atom)
As I go along with "Concepts, Techniques and Models of Computer Programming by Peter Van Roy and Seif Haridi", I'll be putting my thoughts and solution to the exercises(ones that I'm able to crack :) ) here. Please let me know if any of the code snippets presented in solutions give errors as I might have made a mistake in correctly copying the code or something else.
No comments:
Post a Comment