Tag: All

  • C++ Programming MCQ – Constructors and Destructors

    C++ Programming MCQ – Constructors and Destructors

    C++ Programming Multiple Choice Questions & Answers (MCQs) focuses on “Constructors and Destructors”. Q 1. What is the role of a constructor in classes?A. To modify the data whenever requiredB. To destroy an objectC. To initialize the data members of an object when it is createdD. To call private functions from the outer world Show…

You cannot copy content of this page