有如下程序: #include using namespace std; class A { public:
15 查阅
有如下程序: #include<iostream> using namespace std; class A { public: A(){cout<<"A";} }; class B<public:B(){cout<<"B";)); class C:public A { B b; public: C(){cout<<"C";} }; int main(){Cobj;retum 0;} 执行后的输出结果是
A.CBA
B.BAC
C.ACB
D.ABC
参考答案: