C++ Constructors Question:
Download Questions PDF

To ensure that every object in the array receives a destructor call, always delete memory allocated as an array with operator __________ .

A. destructor
B. delete
C. delete[]
D. kill[]
E. free[]


Option C

Download C++ Constructors Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following gets called when an object is being created?

A. constructor
B. virtual function
C. destructor
D. main
Which of the following statement is correct about constructors?

A. A constructor has a return type.
B. A constructor cannot contain a function call.
C. A constructor has no return type.
D. A constructor has a void return type.