I have a C background. I was just wondering why was function overloading added to C++? C doesn\'t have function overloading but C++ does, what was the need for it?
What
Would you prefer "selecting" one among abs/labs/llabs/fabs/fabsf/fabsl Or just abs()?
Obviously, abs().
So function overloading is a relief for programmers, most of the time, beside other advantages.