Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the correct way to dynamically create an object in C++?
ClassName = new object();
ClassName obj();
ClassName obj = new ClassName();
ClassName *obj = new ClassName();
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!