Q. Which of the following statements is correct about the constructors and destructors?

  • (A) Destructors can take arguments but constructors cannot.
  • (B) Constructors can take arguments but destructors cannot.
  • (C) Destructors can be overloaded but constructors cannot be overloaded.
  • (D) Constructors and destructors can both return a value.
πŸ’¬ Discuss
βœ… Correct Answer: (B) Constructors can take arguments but destructors cannot.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
129
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
92%
Success Rate