64 736
Assignments Done
99,3%
Successfully Done
In September 2018

Answer to Question #509 in C++ for Caroline Chase

Question #509
Which constructor is called when you create a class objects array?
Expert's answer
The default constructor is always called. And you can not create an array of objects that have no default constructor. An exception is the initialization of STL arrays and explicit assignment of values of the array in the brackets. In these cases you can set initializing object and pass the parameters you want to its constructor.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions