info@avatto.com
+91-9920808017
{
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
Your email address will not be published. Required fields are marked *
Report
Name
Email
Save my name and email in this browser for the next time I comment.
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
Saved in this browser. Nothing changes for anyone else.