单选题 C++
题号 #144309

有如下程序:  
#include 
using namespace std;  
class test {  
private:  
int a;  
public:  
test(){cout <<”constructor”< test(int A.{cout< test(const test&_test) 
{  
a=_testa;  
cout <<”copy constructor”< } 
test(){cout <<”destructor”< }; 
int main()  
}  
test A(3)  
return0;  
运行时输出的结果是(  )。

进入在线模考

参考答案

D

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考