top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C++: A protected member of the class in accessible in

0 votes
AOnly same class
BSame class and derived class
COutside the class
DNone of the above.

Correct Option: 2  

Only members of the derived class and the same class can access a protected member.
posted Nov 26, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button