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

State the difference between pre and post increment/decrement operations.

599


Explain the isa and hasa class relationships. How would you implement each?

601


What is the use of turbo c++?

547


Is c++ a float?

595


Define pointers?

597






What do you mean by delegate? Can a user retain delegates?

518


What is null pointer and void pointer and what is their use?

580


Difference between an inspector and a mutator

760


List the types of polymorphism in c++?

618


What is low level language in simple words?

551


What is the use of setfill in c++?

577


Please explain class & object in c++?

596


How the virtual functions maintain the call up?

599


Write a C++ Program to check whether a number is prime number or not?

625


How to declare a function pointer?

571