400 Câu hỏi trắc nghiệm lập trình C/C++ có đáp án (Phần 8)

What is a destructor? A function called when an instance of a class is initialized

11/50

What is a destructor?

A function called when an instance of a class is initialized

A function that is called when an instance of a class is deleted

A special function to change the value of dynamically allocated memory

A function that is called in order to change the value of a variable

Giải thích

Chọn B