⟩ For automatic objects, constructors and destructors are called each time the objects A. enter and leave scope B. inherit parent class C. are constructed D. are destroyed
Option A
enter and leave scope
Option A
enter and leave scope
Which of the following are NOT provided by the compiler by default? A. Zero-argument Constructor B. Destructor C. Copy Constructor D. Copy Destructor
Which of the following statement is correct about destructors? A. A destructor has void return type. B. A destructor has integer return type. C. A destructor has no return type. D. A destructors return type is always same as that of main().
Which of the following statement is correct? A. Destructor destroys only integer data members of the object. B. Destructor destroys only float data members of the object. C. Destructor destroys only pointer data members of the object. D. Destructor destroys the complete object.
What is Iterator class?
Tell us what you know about Iterator class?
What is random_access_iterator?
What is Bidirectional iterators?
What is Forward Iterator?
What is Ouptut Iterator?
What is Input Iterator?