Social Sciences, asked by anmol1796, 1 year ago

What do you mean by static scope and dynamic scope?

Answers

Answered by komal70
1
Static Scoping is also known as Lexical scoping. It is used in many programming languages that sets the range of functionality of a variable. The scope is determined when code is compiled( converts into a machine- code. Example: - JavaScript

Dynamic Scope is a programming language that you donot typically see. It is really a pretty and messy bussiness.The scope in each call stack is checked to see if it provide values.

Hope it helps you If it helps please mark it as brainliest answer
Answered by chaudharimanasvi13
0
strictly speaking and in practice for most programming languages,"part of a program" refers to "portion of the source code(area of text),and is known as lexical scope or static scope.In some languages,however,"part of a program"refers to"portion of run time".(time period during execution)and is known as dynamic scope
Similar questions