Sail E0 Webinar
Question

Which of the following statement is correct?


Options:
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



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers