Do we have private destructors?

Answer Posted / pooja

no we do not have private destructors because the
destructors can be declared only in public access
specifier.

Is This Answer Correct ?    1 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ coding?

635


What is c++ stringstream?

589


What do you mean by function overriding & function overloading in c++?

594


What is the return value of the insertion operator?

593


Define friend function.

556






What is a virtual destructor? Explain the use of it?

534


How many different levels of pointers are there?

644


Can you please explain the difference between using macro and inline functions?

513


Can we specify variable field width in a scanf() format string? If possible how?

645


Why is c++ called oops?

544


What does asterisk mean in c++?

572


What is pure virtual function?

615


What are the classes in c++?

624


Is c++ platform dependent?

619


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

2424