I have a simple question from a class of mine on dynamic arrays.
When allocating an array of objects, what constructor is used to initialize all of the objects in the array?
A. The automatic copy constructor
B. The constructor specified at the declaration
C. The default constructor
D. None of the above
What are your thoughts on this question?
I was learning towards B, but then I wasn't sure.
Thanks!
-Shane