What will happen if when say delete this ?

Answer Posted / dee

delete "this" lead in calling the destructor twice.
"this" poanter is related to object and the destructor is
called when the object goes out of scope.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will the line of code below print out and why?

423


Describe linkages and types of linkages?

663


Is c++ low level?

695


What is c++ array?

636


what are the events occur in intr activated on interrupt vector table

1265






What is nested class in c++?

597


Write about the local class and mention its use?

729


What is class definition in c++ ?

726


What are the two main components of c++?

682


Write about the access privileges in c++ and also mention about its default access level?

709


What do you mean by inheritance in c++?

704


Which one is a preferred language C or C++? Why?

709


Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort

744


What is ios in c++?

750


What is a far pointer? where we use it?

704