+1 vote
71 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 70 views
0 votes
1 answer 97 views
0 votes
0 answers 291 views
+1 vote
1 answer 95 views
asked Oct 5, 2021 in Others by anonymous
+2 votes
1 answer 1.4k views
+1 vote
1 answer 148 views
+1 vote
1 answer 47 views
+1 vote
1 answer 723 views
+2 votes
1 answer 2.1k views
+1 vote
1 answer 140 views
0 votes
1 answer 429 views
+2 votes
1 answer 2.3k views
+1 vote
1 answer 131 views
+2 votes
1 answer 1.2k views
+1 vote
1 answer 65 views
+1 vote
1 answer 423 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...