皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
以下定义了复数类 Complex ,有构造函数和显示函数, main 函数定义了三个复数对象。 # include class Complex { private: float Real,Image; public: Complex(float r,float i) // 定义有参构造函数 { Real=r; Image=i; } ____ 1 ___ // 定义拷贝构造函数 { Real=c.Real; Image=c.Image; } Complex() // 定义默认构造函数 { Real=0; Image=0; } void Display() { cout< <<"+"< <<"i"<<'\n';} } ; void main(void) { Complex c1(10,5),c2 ; // c1 初始化为 10+5i,c2 为默认值 c1.Display(); c2.Display(); Complex c3(c1) ; // 用拷贝构造函数初始化 c3 为 10+5i c2=c1 ; // 将 c1 赋值给 c2 c2.Display(); c3.Display(); } 1处可以选择下面 ____ 填充。
A.
void  Complex(Complex &c)
B.
Complex(Complex &c)
C.
Complex(Complex *c)
D.
Complex(Complex c)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】抗癌药物最常见的严重不良反应是
A.
肝脏损害
B.
神经毒性
C.
胃肠道反应
D.
抑制骨髓
E.
脱发
【单选题】(Unit5TextB课文译文)A recent story in my local newspaper dealt with a sad-case family. The son was in jail for drugs, and his mother was trying desperately to find a way to give her son hope. The story de...
A.
She thought that this could help her son to be released from the prison.
B.
She though that this could help her son to regain the hope for the future life.
C.
She thought that her son's friends were bad guys.
D.
She thought that she could get more money by selling these things.
【单选题】听力原文:The average life of a hurricane is only about nine days, but it contains almost more power than we can imagine. The energy in the heat released by a hurricane's rainfall in a single day would sat...
A.
The heat.
B.
The wind
C.
The water.
D.
The mountains.
【单选题】近代画家中,最擅长画马的是( )。 A.徐悲鸿 B.齐白石 C.张大千 D.丰子恺
A.
近代画家中,最擅长画马的是( )。 A.徐悲鸿
B.
齐白石
C.
张大千
D.
丰子恺
【单选题】听力原文: The average life of a hurricane is only about nine days, but it contains almost more power than we imagine. The energy in the heat released by a hurricane's rainfall in a single day would satisf...
A.
6.
B.
9.
C.
12
D.
15
【简答题】被称为“欧洲文明之子”“百科全书式的社会学家”是( )
【单选题】. 近代画家中 , 最擅长画马的是 ( )。
A.
. 徐悲鸿
B.
. 齐白石
C.
. 张大千
D.
. 丰子恺
【单选题】抗癌药物最常见的严重不良反应是
A.
肝脏损害
B.
神经毒性
C.
胃肠道反应
D.
骨髓抑制
E.
脱发
【单选题】近代画家中,最擅长画马的是( )。
A.
丰子恺
B.
齐白石
C.
张大千
D.
徐悲鸿
【简答题】员工关系管理的最高目标是什么?
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题