C++ Scope Resolution Operator

#include<iostream>
using namespace std;
int x = 10;
int main()
{
    int x = 20;

    cout << "X = " << x << endl;

    cout << "X = " << :: x << endl;

    :: x = 500;

    cout << "X = " << :: x << endl;

    return 0;
}

Comments