In option a, the classB is the friend of classa and it can access all the private and protected members of classA.
Previous Question Next Question
Your comments will be displayed only after manual approval.