Which of the following options best describes the truthfulness of the given…
PYQ DSSSB 2022
Which of the following options best describes the truthfulness of the given statements with reference to destructors?
(i) Destructors are the last member function called for an object and they are called by the compiler itself.
(ii) A destructor can be declared in any section of the class.
- A.
(i)-true, (ii)-false
- B.
(i)-false, (ii)-false
- C.
(i)-true, (ii)-true
- D.
(ii)-false, (i)-true
Attempted by 589 students.
Sign up free to check your answer
Sign up freeLoading lesson…

