Question: what is the difference between function overloading and operator overloading?
Answer: Function overloading is a component of polymorphism in C++. function overloading means same method name but different parameter where as operator overloading is same named function with operator keyword in front of the symbol. And you can compare the object with other thing.