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

What is wrong in the following code?

24/50

What is wrong in the following code?Media VietJack

There is nothing wrong

One cannot have a ‘Base’ pointer to ‘Derived’ since it is not derived publicly

One need a derived class pointer to point to a derived class

One required to code a constructor for Derived

Giải thích

Chọn B