Which of the following option is true about new operator to-02593
Which of the following option is true about new operator to dynamically allocate memory to an object?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Final Term - Quiz No.8.
Which of the following option is true about new operator to dynamically allocate memory to an object?
The new operator determines the size of an object
Allocates memory to object and returns pointer of valid type
Creates an object and calls the constructor to initialize the object
All of the given options