• Tutorials
  • Courses
  • Tracks

Types of Constructors in C++-question-1

Last Updated :
Discuss
Comments
What is the purpose of a default constructor in C++?
To create an object with default values
To create an object with specific initial values
To create a copy of an existing object
To transfer resources from a temporary object
Tags:
Share your thoughts in the comments