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

What do you think is the outcome of calling a redefined non-virtual function using a base-class pointer?

7/50

What do you think is the outcome of calling a redefined non-virtual function using a base-class pointer?

The appropriate redefined version of the function will be used

The base-class version of the function will always be used

The outcome is unpredictable

A run-time error will occur

Giải thích

Chọn B