Question
Which is called on allocating the memory for array of objects?
Answer: Option B
Was this answer helpful ?
When you allocate memory for an array of objects, the default constructor must be called to construct each object. If no default constructor exists, you're stuck needing a list of pointers to objects.
Was this answer helpful ?
More Questions on This Topic :
Question 3. What is other name of full specialization? ....
Question 4. Which is dependant on template parameter? ....
Question 5. Which value is placed in the base class? ....
Submit Solution