Pergunta de entrevista da empresa Arm

C++: What is inheritance and polymorphism?