LBdgWgt
Member level 5
Hi all,
I am quite used to program in C, but for OOP i dont have the concept quite deep yet. I have (maybe) a simple question: what is the difference between (function) overloading concept in C and polymorphism in C++? as i noticed, they have almost the same purposes: to provide single definition (name) for many types of data. but i also noticed that in polymorphism, it is not just for functions, but also for operators. any other differences?
thanks for the answer,
I am quite used to program in C, but for OOP i dont have the concept quite deep yet. I have (maybe) a simple question: what is the difference between (function) overloading concept in C and polymorphism in C++? as i noticed, they have almost the same purposes: to provide single definition (name) for many types of data. but i also noticed that in polymorphism, it is not just for functions, but also for operators. any other differences?
thanks for the answer,