Many C programmers might not have heard the term ‘Static Scoping’ and ‘Dynamic Scoping’. Since C only supports Static Scoping. Static Scoping is also called Lexical/Text Scoping.
Read the following article to understand what these two scoping mean in Computer Science.
1. Article 1
2. Article 2
3. Article 3
The above things might confuse since this dynamic scoping is not supported in many languages including C and hence you might not be able to test the same. But the point is to understand it. What Dynamic Scoping means.