What is the disadvantage of overload?
Answers
Answered by
0
Answer:the engine has to apply more force which has several consequences
Explanation:force=m×a
If the mass is increased then the force is increased therefore the engine has to apply more force
Answered by
0
Answer:
Other than that, there are no disadvantages. Note that if the only difference is the type of parameter rather than the number of parameters, function templates are a much better option. The compiler generates the overloads for you, on an as-required basis, and you've only got one function to maintain.
Similar questions