L Lò Ngọc New member Sep 18, 2021 #1 If dynamic scoping is used and call by name mechanism is used, the values printed will be? A. 115, 220 B. 25, 220 C. 25, 15 D. 115, 105
If dynamic scoping is used and call by name mechanism is used, the values printed will be? A. 115, 220 B. 25, 220 C. 25, 15 D. 115, 105
Đ Đinh Thu Trang New member Sep 18, 2021 #2 Answer: b Explanation: Since x = i + j & in P (x) i = 200 & j = 20 x = 200 + 20 = 220 & printing (x + 10) 9. = i + j + 10 = 10 + 5 + 10 = 25. Upvote 0 Downvote
Answer: b Explanation: Since x = i + j & in P (x) i = 200 & j = 20 x = 200 + 20 = 220 & printing (x + 10) 9. = i + j + 10 = 10 + 5 + 10 = 25.