Nov2017 cs Q11

0. A member function can always access the data in __________ , (in C++).

  • Option : A
  • Explanation :
    A member function can access it's class member variables, irrespective of the access specifier in which the member variable is declared.So, a member function can always access the data in the class of which it is a member.
    So, option (A) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *