![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
有如下程序:#include<iostream>#include<cstring>using namespace std;class XCF{in
有如下程序:
#include<iostream>
#include<cstring>
using namespace std;
class XCF{
int a;
public:
XCF(int aa=O):a(aA){cout<<”1”;}
XCF(XCF&X){a=x.a;cout<<”2”;}
~XCF(){cout<<at}
int Geta(){return at}
};
int main(){
XCF dl(5),d2(d1);
XCF半pd=new XCF(8);
cout<<pd->Geta();
delete pd;
return 0;
}
运行时的输出结果是
A.1215588
B.1218855
C.12185
D.128512
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)