Introduction
Scope is an important concept in programming languages � one cannot read or write large programs without properly understanding the concept of scope. The scope of a variable in a program is the lines of code in the program where the variable can be accessed.