why all c++ program must have default constructor?

Answer Posted / ashutosh shashi

To initialized objects of class, if you do not create your
own.Its a inbuilt feature of C++ compiler.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain polymorphism?

579


Explain storage qualifiers in c++.

616


Can we delete this pointer in c++?

676


What is the best way to take screenshots of a window with c++ in windows?

565


What is the use of cmath in c++?

584






What is the difference between a pointer and a link in c ++?

560


Mention the purpose of istream class?

613


What is an inclusion guard?

612


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2064


What is operators in c++?

561


Explain the difference between new() and malloc() in c++?

620


How do you find out if a linked-list has an end?

641


Explain operator overloading.

598


Is there a sort function in c++?

543


How many keywords are used in c++?

552