700+ câu trắc nghiệm Ngôn ngữ lập trình C có đáp án - Phần 19

What is a destructor?

11/25

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 đáp án B