[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C++

79 / 187

What is dynamic constructor?

Answer:

The constructor can also be used to allocate memory while creating objects.
This will enable the system to allocate the right amount of memory for each object when the objects are not of the same size, thus resulting in the saving of memory;. Allocation of memory to object at the time of their construction is known as a dynamic construction of objects. The memory is allocated with the help of the new operator. The use of new in constructors that are used to construct strings in objects.

Asked In ::

Post Your Answer Here:


Rate This: +1 -0      +
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.