Home »
MCQs »
C++ MCQs
Constructor and Destructor have the same name but destructor is preceded by?
195. Constructor and Destructor have the same name but destructor is preceded by?
- ~
- !
- $
- #
Answer: A) ~
Explanation:
Constructor and Destructor have the same name but destructor is preceded by a tilde (~) symbol.