Difference between static and dynamic scope in ppl
Answers
Answered by
0
Answer:
Static Scoping:
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 unrelated to the run time call stack.
In contrast, dynamic scope requires the programmer to anticipate all possible dynamic contexts.
[I hope help ❤️✌️
Similar questions