1.

To which of the following access specifiers are applicable?(a) Member data(b) Functions(c) Both Member data & Functions(d) Protected members

Answer» Right answer is (c) Both Member data & Functions

To explain I would say: The access specifiers can be applicable to the member data and functions because they need to be accessed outside the block.


Discussion

No Comment Found

Related InterviewSolutions