✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class A
{public: int a, b;
protected: int z;
private: short i; } A1;
class B: public A
{public: int c, d;
private: int k;} B1;
(C++)