Virtual functions allow you to?

(A) create an array of type pointer-to-base class that can hold pointers to derived classes
(B) create functions that can never be accessed
(C) group objects of different classes so they can all be accessed by the same function code
(D) use the same function call to execute member functions of objects from different classes

»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 !!