Which of these remarks about overloading a function name is correct?
a. C++ distinguishes between function overloaded implementations by examining differences in return types.
C++ distinguishes between overloaded function versions by examining differences in the argument lists.
b. C++ does not support function name overloading.
c. To decide which version of overloaded functions, C++ looks first for an exact match in the argument list types and the parameter list types.
d. If there is no match between the argument list types and the parameter list types C++ expects the programmer to supply type conversions to get a match.
b) and d)
Explanation: c) is wrong, as is e). In e) the correct answer is C++ uses automatic type conversions to find a match between the list of parameter types and the list of argument types
You might also like to view...
A desktop computer's ________ is the case that houses the main components of the computer plus peripheral devices
Fill in the blank(s) with correct word
A class of objects is equivalent to a set of objects having the same attributes and associations.?
True or False