In C If New Operator Is Used When Is The Constructor Called #1250
In C++, if new operator is used, when is the constructor called?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Memory Allocation & Scope of Variable - OOPs MCQ: New Operator - Quiz No.1.
In C++, if new operator is used, when is the constructor called?
Before the allocation of memory
After the allocation of memory
Constructor is called to allocate memory
Depends on code