info@avatto.com
+91-9920808017
0. Class A
{
int i1;
protected :
int i2;
public :
int i3;
}
class B : public A
int i4;
};
class C :B
The variable i2 is accessible
to a public function in class A
to a public function in class B
to a public function in class C
from the main function
You must be logged in to post a comment.
Ash on (2021-08-17 16:56:38) Comments : option A is also correct.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.