1. The scope operator reveals the hidden scope of a variable. The scope resolution operator (::) is used for the following purposes.
2. To access a Global variable when there is a Local variable with same name.
An example using Scope Resolution Operator.