有如下程序:includeusing namespace std;Class Test{public:Test(){}Test(const Test&t){co

有如下程序: include using namespace std; Class Test{ public: Test(){} Test(const Test&t){cout<<1;} ); Test fun(Test &u){Test t=u;retum t;} int main(){Test X,y;x=fun(y);retum 0;} 运行这个程序的输出结果是()。 A.无输出 B.1 C.11 D.111

时间:2023-03-17 16:42:47

相似题目