What is the sequence of event when allocating memory using new-03215
What is the sequence of event(s) when allocating memory using new operator?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.12.
What is the sequence of event(s) when allocating memory using new operator?
Only block of memory is allocated for objects
Only constructor is called for objects
Memory is allocated first before calling constructor
Constructor is called first before allocating memory