Programming - Constructor - Discussion

You Are Here :: Home > C++ Language > Constructor - Discussion

 



Q.

Which of the following statement is correct?                         


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.

Answer: Option C
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion