皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
请根据程序的运行结果,完善以下代码。 #include using namespace std; class A { int x, y; public: { x = d; y = w; } virtual void disp() { cout<< x + y< } }; class B : public A { public: { cout<< x*y << endl; } }; void main() { A *ptr; ptr->setvalue(3,5); ptr->disp(); } 运行结果:15
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】I waited and waited, and then I began to feel drowsy.
【单选题】网卡用来实现计算机和( )之间的物理连接。
A.
其他计算机
B.
Internet
C.
传输介质
D.
打印机
【单选题】All the others seemed to know each other and I began to feel _______.
A.
given away
B.
left out
C.
turned down
D.
fallen behind
【简答题】A.They feel enjoyable. B.They feel safe in big cities. C.They feel unproductive and lonely. D.They feel free.
【判断题】算法和程序都不能无穷的,否则会进入死循环。
A.
正确
B.
错误
【简答题】网卡用来实现计算机和 _________ 之间的物理连接。
【单选题】All the others seemed to know each other and I began to feel ____. [      ]
A.
given away
B.
fallen behind
C.
turned down
D.
left out
【简答题】对有抗震设防要求的框架结构,其纵向受力钢筋的强度不应满足设计要求。( )
【判断题】算法和程序都不能无穷的,否则会进入死循环
A.
正确
B.
错误
【单选题】She started laughing loudly when I began to sing,which made me feel very________.
A.
amazed
B.
excited
C.
embarrassed
D.
interested
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题