Under what conditions a destructor destroys an object?
A) scope of existence has finished
B) object dynamically assigned and it is released using the operator delete.
C) program terminated.
D) both a and b.
Correct Answer:
Verified
Q3: The default access level assigned to members
Q4: There is nothing like a virtual constructor
Q5: Which of the following operators allow defining
Q6: Which type of class has only one
Q7: What is a constructor?
A)a class automatically called
Q9: When class B is inherited from class
Q10: Which one of the following is not
Q11: Variables declared in the body of a
Q12: In a class definition, data or functions
Q13: A member function can always access the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents