Global variables allow you to access data between collections,
requests, test scripts, and environments. Global variables
are available throughout a workspace. I use Global variables
to quickly test something.
#include<iostream>
using namespace std;
int x; // Global x
int main()
{
int x = 10; // Local x
cout<<"Value of global x is "<<::x<<endl;
cout<<"Value of local x is "<<x;
getchar();
return 0;
}