CBSE BOARD XII, asked by dhanalakshmi41, 9 months ago

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

Answers

Answered by Quik
1

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 :)

Answered by caxiwor187
0

Function overloading should be used in c++ to optimise the programme and implement polymorphism.

Please mark as brainliest!

Similar questions