【单选题】下面程序的运行结果是 ( ) #include using namespace std; class A { public: A(int i) { m_i = i; } A(const A& a) { m_i = a.m_i; } int getI() { return m_i; } private: int m_i; }; class B: public A { public: B(int i,...
A.
i of A: 5, j of B: 8 i of A: 5, j of B:16
B.
i of A: 5, j of B: 8 i of A: 10, j of B:8
C.
i of A: 5, j of B: 8 i of A: 5, j of B:8
D.
i of A: 5, j of B: 8 i of A: 10, j of B:16