what is static scope???
Answers
Answered by
2
Static scoping is also called lexical scoping. In this scoping a variable always refers to its top level environment.
Answered by
2
Explanation:
Static scoping is also called lexical scoping. In this scoping, a variable always refers to its top-level environment. This is a property of the program text and is unrelated to the run-time call stack. ... In contrast, dynamic scope requires the programmer to anticipate all possible dynamic contexts.
Similar questions