单选题
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
答案解析
暂无解析
你可能感兴趣的试题
A.11
B.111
C.1111
D.11111
A.3
B.4
C.6
D.7
A.10,20
B.30,40
C.20,30
D.50,50