[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++

27 / 187

How to initialize object dynamically?

Answer:

Class objects can be initialized dynamically too. That is, the initial value of an object may; be provided during run time.

Advantages:
We can provide various initialization formats, using overloaded constructor. This provides the flexibility of using different format of data at run time depending upon the situation.

Asked In ::

Post Your Answer Here:


Database Connectivity Error : Too many connections