#include <iostream> 
using namespace std;  
 
int x = 0;
int f (int a, int b)       {      return   ::x = a + b; }
class A { int x;
          public: A (int n = 1)          { x = n; }
                  int f () {      return ::x = x; }   };
class B { int x;
          public:	B (int n = 2)         { x = n; }   };
class C:  public A,   public B  { int x;
          public: int f (int a) { return ::x = x; }
          void g ();                                  };
void C::g() {	
     //x = f ();
    	C::f (3);
    	::x = ::f (4, 5);
	  ::x = 6;
}
int main () {	C c;
	//c.f ();//
	c.C::f (7);
	::x = ::f ('8', 9);
	
	for(;;);
	return 0;  
}
