Definition: Scope refers to identifiers, that is types, functions, classes and variables and is that part of the source code where the particular identifier is visible.
There are different types of scope. In C++ there is File scope where the identifier exists global to a source code file, class scope - just within that class, local scope - within a function.

