Login
Remember
Register
CodersEditor Q&A
Online IDE
Questions
Unanswered
Tags
Users
Ask a Question
Programming Tutorials
Ask a Question
What is the default constructor?
0
votes
asked
Jan 21, 2021
by
abitha
(
1.6k
points)
c
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 21, 2021
by
Inba
(
1.1k
points)
selected
Jan 22, 2021
by
abitha
Best answer
A default constructor is a function that does not take any parameters. Even if the user does not define a default constructor, the complier defines it implicitly.
Please
log in
or
register
to add a comment.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
239
questions
203
answers
2
comments
692
users
Related questions
What is a default argument in C++?
Can we provide one default constructor for our class?
What is the main difference between the keyword struct and class?
What is the process to create increment and decrement statement in C?
Is it possible for a C++ program to be compiled without the main() function?
...