+1 vote
67 views
in Compilers & Operating Systems by

1 Answer

+1 vote
by
selected by (user.guest)
 
Best answer

The scope rules of a language decide how to reference the non-local variables. There are two methods that are commonly used: 

1. Static or Lexical scoping: It determines the declaration that applies to a name by examining the program text alone. E.g., Pascal, C and ADA. 

2. Dynamic Scoping: It determines the declaration applicable to a name at run time, by considering the current activations. E.g., Lisp


Related questions

+1 vote
1 answer 62 views
0 votes
1 answer 94 views
0 votes
0 answers 285 views
+1 vote
1 answer 91 views
asked Oct 5, 2021 in Others by anonymous
+2 votes
1 answer 1.4k views
+1 vote
1 answer 140 views
+1 vote
1 answer 41 views
+1 vote
1 answer 712 views
+2 votes
1 answer 2.1k views
+1 vote
1 answer 136 views
0 votes
1 answer 360 views
+2 votes
1 answer 2.2k views
+1 vote
1 answer 126 views
+2 votes
1 answer 1.2k views
+1 vote
1 answer 55 views
+1 vote
1 answer 383 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...