πŸ“Š C++
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.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
84%
Success Rate