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

http://www.questionscompiled.com/answer/cpp/148/compile-time-polymorphism-and-run-time-polymorphism#.UptXcEOXsUQ

http://www.studytonight.com/cpp/virtual-functions.php

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.