The correct choice is (d) Private, protected and public members of class A
The explanation is: Class B object will not be able to call any of the private, protected and public members of class A. It is not only about the function add(), but all the members of class A will become private members of class B.