What is run time polymorphsim in c++?

Can any one please help me?

1 Like

@bipin2 kindly refer below links,i think you will understand run time polymorphism but still if you have any doubts you can ask again



Try this.

It seems it’s the ability of a code to work for different types of input. In C++, you usually define the types of variables (so the sum of squares over integers and over doubles are different functions), but it’s possible to use constructions that allow you to define “sum of squares” as one function that works for every type (that has the functions “sum” and “product” defined). Something like that.