Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
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
This question is part of this quiz :
Constructors & Destructor,
Constructors, Destructors, and this Pointer
Tags:
C++
Share your thoughts in the comments
Add Your Comment
GeeksforGeeks