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) C++ does not support function name overloading.
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.

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...

If the subscript of an array is not in the acceptable range, the procedure should try to access the array element to verify the correct range.

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

Computer Science & Information Technology

To access the controls for the proofing features in Word, click the File tab and click ________

A) Word Proof B) Options C) Word Features D) Info

Computer Science & Information Technology

The back end of a business database consists of:

A) database forms, queries, reports and macros. B) the database tables and their data. C) database tables, forms and queries. D) database tables, queries, reports and macros.

Computer Science & Information Technology

In a bubble sort, the smaller elements move toward the bottom, and the larger elements move toward the top of the list.

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

Computer Science & Information Technology