// Example 2-4: Using the global scope operator.
#include <iostream>
#include <ostream>

int x = 42;

int main()
{
  double x = 3.1415;         // hides the global x
  std::cout << x << '\n';    // prints 3.1415
  std::cout << ::x << '\n';  // prints 42
}
