Suppose that Postscript is statically scoped . What value is left on the stack after the following Postscript program executes? /x 1 def /y {x} def /x 3 def /z {/y x 1 add} def y OPTIONS: 2 4 3 1 5...



Suppose that Postscript is
statically scoped. What value is left on the stack after the following Postscript program executes?


/x 1 def
/y {x} def
/x 3 def
/z {/y x 1 add} def
y


OPTIONS:


2


4


3


1


5


=========================================================


Suppose that Postscript is
dynamically scoped. What value is left on the stack after the following Postscript program executes?


/x 1 def
/y {x} def
/x 3 def
/z {/y x 1 add} def
y


OPTIONS:


1


4


2


3


5




Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here