下列程序段中具有相同值的是() class Base {int b;}; class Base1:virtual public base{int b1;};
下列程序段中具有相同值的是() class Base {int b;}; class Base1:virtual public base{int b1;};
class Base2:virtual public base{int b2;};
class derived:public Base1,public Base2{int b3;};
derived d;
A、d.b与d.base1::b
B、d.base1::b与 d.base1::b1
C、d.b与 d. b3
D、d.base2::b与 d.base2::b2
正确答案:d.b与d.base1::b
Tag:程序
时间:2023-10-31 10:26:00
- 上一篇:A good body paragraph of critical essay should ().
- 下一篇:Read the following cases of causal reasoning and identify the relationship between the assumed cause and effect in each statement.Zoe wore a black velvet (天鹅绒)costume the day she won her first figure skating (花样滑冰)championship. It’s the lucky dress that m