试题与答案

拆卸、安装、更换、测试、移动既有设备作业“三不离”原则?

题型:问答题 简答题

题目:

拆卸、安装、更换、测试、移动既有设备作业“三不离”原则?

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2020/0226/51ed0bd6700018874d7d6ca645e3301a.html

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

参考答案:

试题推荐
题型:单项选择题

有如下的程序:
#include <cstring.h>
#include <iostream. h>
using namespace std;
class MyString public:
MyString(const char*s);
~MyString() delete[]data;
protected:
unsigned len;
char*data;
;
MyString::MyString(const char *s) len=strlen(s);
data=new char[len+ 1];
strcpy(data, s);int main() MyString a("C++ Programing");
MyString b(a);
return0;在运行上面的程序时出错,出错的原因是( )。

A.构造函数的实参不允许是本类的对象

B.没有定义实现深层复制(深拷贝)的复制构造函数

C.构造对象a时实参与形参类型不符

D.系统不能生成默认的复制构造函数

查看答案
微信公众账号搜索答案