Answer to Question #327188 in C++ for Siva

Question #327188

Explain situation when default constructors is mandatory to be written by user


1
Expert's answer
2022-04-11T07:50:10-0400

If user doesn't declare constructor in the class, compiler assumes that default constructor will be used, however if user declare parameterized constructor and want to use default constructor also, user must declare default constructor explicitly.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS