A call to a C++ function is

a) The name of the function followed by empty parentheses.
b) The name of the function followed by any number of arguments, regardless of the number of parameters in the definition.
c) The name of the function followed by a number of arguments not greater than the number of parameters in the definition.
d) The name of the function followed by exactly the number of arguments as there are parameters in the definition.
e) The name of the function only.


d) The name of the function followed by exactly the number of arguments as there are parameters in the definition.

a) is correct only when the function has no parameters. b) only works for certain advanced function calls using the “varargs” facility that is not treated in the text. c) only works with default arguments which we have not yet studied.

Computer Science & Information Technology

You might also like to view...

Data sent to devices such as a printer, modem, or display screen is called ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

To set the History panel to automatically save a snapshot every time you save your work, click the History panel list arrow, click ____________________, then click Automatically Create New Snapshot When Saving.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is the sum of all lengths in an adjacency list?

a. The number of edges b. The sum of each edge in the graph c. The average value of the edges in the graph d. The sum of all the vertices connected by the edges

Computer Science & Information Technology

Which automatic startup option should you choose when Windows? startup fails immediately after installing a new driver but before you have logged on again?

A. Last Known Good Configuration B. Enable VGA Mode (XP)/Enable Low-Resolution Mode C. Safe Mode with Networking D. Safe Mode with Command Prompt

Computer Science & Information Technology