If a class D has been derived using protected inheritance from class B (If B is a protected base and D is derived class) then public and protected members of B __ accessed by member functions and friends of class D and classes derived from D?

(A) can be
(B) cannot be
(C) does restirct to be
(D) not given

»Important Links:

English McqsGeneral Knowledge McqsPak Studies Mcqs
Current Affairs McqsCurrent Affairs Mcqs PDFCurrent Affairs of Pakistan
Books PDFNotes PDFIslamic Studies Mcqs

Leave a Reply

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

error: Content is protected !!