What will be the Output:
#includeiostream
using namespace std;
int x;
int main()
{
int x = 10;
cout "Value of global x is " ::x endl;
cout "Value of local x is " x;
return 0;
}


Posted on by