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

Computer Science & Information Technology

You might also like to view...

You always can assign a unique IP address to your computer.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What problems do you foresee in the direct coupling between communicating entities that is implicit in remote invocation approaches? Consequently, what advantages do you anticipate from a level of decoupling as offered by space and time uncoupling?

What will be an ideal response?

Computer Science & Information Technology

What is the maximum number of files that can be replicated from a volume?

A. 16 million B. 32 million C. 70 million D. 90 million

Computer Science & Information Technology

How does Kerberos work?

What will be an ideal response?

Computer Science & Information Technology