What will happen if when say delete this ?

Answer Posted / hidden prairie

delete this will call the destructor, but should not be
called in the destructor but in any other member function.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which format specifier is used for printing a pointer value?

668


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

687


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

658


Can non graphic characters be used and processed in C++?

795


Which is most difficult programming language?

682






Why do we need c++?

691


Discussion on error handling of C++ .

734


What is meaning of in c++?

762


What is a class template?

695


What are the restrictions apply to constructors and destructors?

732


What is a constant? Explain with an example.

632


How do you sort a sort function in c++ to sort in descending order?

672


What programming language should I learn first?

693


What does obj stand for?

731


Describe the syntax of single inheritance in C++?

737