1.

Which operator is used to declare the destructor?(a) #(b) ~(c) @(d) $This question was addressed to me in a national level competition.This key question is from Derived Classes in section Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

The correct option is (b) ~

The BEST I can explain: TILDE(~) is USED to declare DESTRUCTOR of a CLASS.



Discussion

No Comment Found

Related InterviewSolutions