Question

Which of the following is true about C++ destructors?

A Must have the same name as the class
B Are called automatically when an object goes out of scope
C Can have parameters
D Must return int
E Can be overloaded
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)