赞题库-背景图
单项选择题

有如下程序: #inc1ude<iostream> using namespace std; c1ass test{ private: int a; public: test0 {cout+"constructor"+end1;} test(int a){cout+a+end1;) test(const test&test) { a= test.a; cout+"copy constructor"+end1; } test( ){Cout+"dcstructor"+end1;} }; int main() { test A(3); retum 0; } 运行时输出的结果是( )。

A.3
B.constructor destructor
C.copy Destructor
D.3 destructor