下面这个程序的结果是 #include<iostream.h> class A { private: int a; public: void seta( );int geta( );}; void A::seta( ) { a = 1;} int A::geta( ) {return a;} class B { private: int a; public: void seta( );int geta( );}; void B::seta( ) {a=2;} int B::geta( ) {return a;} class C:public A,public B { private: int b; public: void display( );}; void C::display( ) { int b=geta( ); cout <<b;} void main( ) { C c; c.seta( ); c.display( );}