Consider the following code: class A { int i1; protected:int i2; public:int i3; }; class B:public A { Public:int i4; }; class C:B{ }; The variable i2 is accessible
Reveal answer
Fill a bubble to check yourself
Consider the following code: class A { int i1; protected:int i2; public:int i3; }; class B:public A { Public:int i4; }; class C:B{ }; The variable i2 is accessible