Question d’entretien chez Standard Chartered Bank

How dynamic_cast is implemented in compiler?