Which of the following option is true about new operator to dynamically allocate memory to an object?

(A) The new operator determines the size of an object
(B) Allocates memory to object and returns pointer of valid type
(C) Creates an object and calls the constructor to initialize the object
(D) All of the given options

»Important Links:

Latest Jobs in PakistanGovt Jobs in PakistanPrivate Jobs in Pakistan
NTS JobsPPSC JobsFPSC Jobs
Teaching JobsNADRA JobsBank Jobs
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 !!