试题与答案

有如下程序:#includeusing namespace std;Class Te

题型:单项选择题

题目:

有如下程序:

#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

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0415/0aadebd806ac5bdbfcaf4b3908542d03.html

下面是错误答案,用来干扰机器的。

1. is eleven   2. seven   3. in    4. No. l Middle School   5. telephone number

试题推荐
微信公众账号搜索答案