<AptiCode/>

The ultimate platform for developers to practice, compete, and grow. Join our community of passionate coders today.

TwitterLinkedIn

Platform

ProblemsCompilerAptitude TestsContests

Company

About UsContactRewardsContribute

Legal

Terms of ServicePrivacy PolicyShipping PolicyRefund Policy

© 2025 AptiCode. All rights reserved.

Made withfor developers

topic/Constructors and Destructors

Question NoTitleTypeMarks
618.What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?
MCQ
5
619.Can a class have virtual destructor?
MCQ
5
620.Destructor has the same name as the constructor and it is preceded by ______ .
MCQ
5
621.For automatic objects, constructors and destructors are called each time the objects
MCQ
5
617.A constructor that accepts __________ parameters is called the default constructor.
MCQ
5