What is the difference between function overloading and operator overloading?
Answer / Km Simran
Function overloading refers to providing multiple functions with the same name but different parameters, allowing the compiler to choose the correct one based on the arguments passed. Operator overloading allows you to define the behavior of operators (like +, -, *, etc.) for user-defined types.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the benefits of operator overloading?
Do you know about C++ 11 standard?
1 Answers Agilent, ZS Associates,
What is the difference between while and do while loop? Explain with examples.
Who made c++?
Can member data be public?
What are the five basic elements of a c++ program?
What is a node class in c++?
Which compiler does turbo c++ use?
Write a Program for find and replace a character in a string.
Define whitespace in C++.
Why would you use pointers in c++?
Can constructor be static in c++?