1.

When do you think function overloading should be used in c++​

Answer»

Hey there!

Here is the answer for your question!

≫ ──── ≪•◦ ❈ ◦•≫ ──── ≪

Q) When do you think function overloading should be USED in C++?

≫ ──── ≪•◦ ❈ ◦•≫ ──── ≪

Answer:-

# Function overloading is used when a function is required to perform for alternatives argument types and there is a definite way of optimising the function for the argument type.

#Function overloading plays very important role to IMPLEMENT POLYMORPHISM.

# It is also used to make the program run faster and REDUCES the number of comparison in a program.

≫ ──── ≪•◦ ❈ ◦•≫ ──── ≪

Hope this helped with your doubt :)



Discussion

No Comment Found