The Scope of a Variable
In this lesson, we explore the portions of a program where we can use our variables.
We'll cover the following...
What is a variable’s scope?
When we declare a variable, the portion of the program where we can use that variable is called its scope. This portion extends from the declaration itself to the closing brace that encloses the ...
Ask