下面程序的运行结果是()。#includeclass base{protected:int a;public:base(){cout<<
11 查阅
下面程序的运行结果是( )。 #include<iostream.h> class base{ protected: int a; public: base(){cout<<“0”;} }; Class basel:Virtual base{ public: basel(){cout<<“1”;} }; Class base2:virtual base{ public: base2(){cout<<“2”;)
A.0123
B.3120
C.0312
D.3012
参考答案: