Software Engineering
When overloading functions which of the following should be the same?
Show answer
Correct answer: A) Function name
Function overloading requires the same function name but different parameter lists.
Return type can be the same or different, but it alone cannot distinguish overloaded functions.
Explanation
Function overloading requires the same function name but different parameter lists.
Return type can be the same or different, but it alone cannot distinguish overloaded functions.