Draw the box-and-pointer representation and the memory-vector representation (as in figure 5.14) of the list structure produced by
(define x (cons 1 2)) (define y (list x x))
. What is the final value of
? What pointers represent the values of
Figure 5.14: Box-and-pointer and memory-vector representations of the list ((1 2) 3 4).
There are no comments yet.
You must log in to post a comment.Login