Home / C++ Programming / Constructors and Destructors :: Discussion

Discussion :: Constructors and Destructors

  1. Which of the following statement is correct?

  2. A.
    Constructor has the same name as that of the class.
    B.
    Destructor has the same name as that of the class with a tilde symbol at the beginning.
    C.
    Both A and B.
    D.
    Destructor has the same name as the first member function of the class.

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment