写出以下程序运行结果。#includeusingnamespacestd;classBASE{public: BASE(inti){cout<<"A";p=i;} BASE(constBASE&other){cout<<"B";p=other.p;}~BASE() {cout<<"C";} intget() {returnp;}private: intp;};voiddisplay(BASEobj) {cout<
#includeusing namespace std;class example{ int a;public:example(int i=0){a=i;cout<<"A"<
1、程序填空,使得横线处完整后能按注释完成要求。classA{private:inta,b;public:A(intaa=0,intbb=0)__(1)___{}//分别用aa和bb初始化a和bvoidshow(){cout<
class A {private:int a,b,c;int get_min() {return (a