0

If, say I want to dynamically allocate an array of objects with new operator like

Some_Class* p=new Some_Class[10];

Will the default constructor be called? Or, it will just allocate some memory space for 10 such objects, without specifying any information about the objects? Since the

Some_Class* q=new Some_Class;

will call the default constructor.

Austin at CA
  • 5
  • 1
  • 3

0 Answers0