adspace


What is function overloading and operator overloading in C++?

Answer Posted / Seema Gupta

"Function Overloading: The process of defining multiple functions with the same name but different parameters, allowing you to perform similar tasks for different data types or argument combinations. Function overload resolution takes place at compile-time based on argument types.nnOperator Overloading: Allowing operators (like +, -, ==) to work with user-defined types by providing specific implementations for those operators in the class definition."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

1275


sir please send me bpcl previous question papers

2484


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

3484


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2283


daily Routine of father

1489


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1170


What character terminates all character array strings a) b) . c) END

1403


What is the latest version on c++?

1214


Please send ford technologies placement paper 2 my mail id

2183