Malloc and constructors

Posted by viswanathan on Stack Overflow See other posts from Stack Overflow or by viswanathan
Published on 2010-06-08T06:02:45Z Indexed on 2010/06/08 6:12 UTC
Read the original article Hit count: 318

Filed under:

Unlike new and delete operators malloc does not call the constructor when an object is created. In that case how must we create an object so that the constructor will also be called.

© Stack Overflow or respective owner

Related posts about c++