EY interview question

What is dynamic memory allocation? What is run time and compile time polymorphism with example differentiate?