东北师范大学 / C++程序设计
正确率:100%
下面程序的运行结果为()。#include class A{public:A(){cout<<“1”;}~A(){cout<<“2”;}} class B:public A{public:B(){cout<<“3”;}~B(){cout<<“4”;}} void main(){B b;}
A.1234
B.1324
C.1342
D.3142
参考答案:
佳题速递: