What is Function Overloading and Operator Overloading?

Recommended Answers

All 4 Replies

a function overload means you can accept different sets of parameters for basically the same function.

an operator overload means you define how the operators(+,-, ++, --, etc.) work for your class

commented: Simple, but good! +14

Well, searching on google isn't that hard:
Function overload: Click Here (middle of the page).
Operator overload: Click Here

Thanks for you answer. I really appreciate your answer.

You're very welcome. Please remember to mark this solved thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.