Pregunta de entrevista de Netradyne

Give a code in cpp to do inheritance, overriding and constructor use in one program.