What is dynamically scoped and what is statically scoped and

What is dynamically scoped and what is statically scoped, and how C++ handles them?]

Solution

Dynamically Scoped senses which mentions X to the X declared in the very current frame of the call stacks having one.this done dynamic scoping is not seen in C++ language and also in C language.it is resolved through the order of calls which tends to the utilization of identifier and since which is discrete every time the utiliozation is arrived.

Static scoping senses which mentions the X to the X Declared inward scope of declaration which is having one.the scope of identifier is resolved through the place of the code which never change.

 What is dynamically scoped and what is statically scoped, and how C++ handles them?]SolutionDynamically Scoped senses which mentions X to the X declared in the

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site