Question at position 26 Which of the following statements is true about dynamic scoping compared to lexical scoping?Dynamic scoping always consults the global namespace for resolving variablesDynamic scoping uses the variable definition closest in source codeDynamic scoping results in an immediate failure if the variable is not available in the current local scopeDynamic scoping uses the calling context at runtime to resolve variablesClear my selection单项选择题

A

Dynamic scoping always consults the global namespace for resolving variables

B

Dynamic scoping uses the variable definition closest in source code

C

Dynamic scoping results in an immediate failure if the variable is not available in the current local scope

D

Dynamic scoping uses the calling context at runtime to resolve variables

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!