Scope resolution operator in C++
Scope resolution operator (::) in C++ programming language is used to define a function outside a class or when we want to use a global variable but also has a local variable with the same name.
http://codevidyalay.blogspot.com
#include<iostream>
using namespace std;
int a=120;
int main()
{
int a=89;
cout<<a<<endl;
cout<<::a;
return 0;
}
//INPUT/OUTPUT:-
89
120