In C++, pass by reference for an integer parameter can be achieved …

A. by placing an & in front of the value when invoking the function.
B. by placing an & following the data type of a parameter in the function prototype and the
function header.
C. by placing an & before the data type of a parameter in the function prototype and the
function header.
D. by doing nothing special, since pass by reference is the default way to pass integers.


B. by placing an & following the data type of a parameter in the function prototype and the
function header.

Computer Science & Information Technology

You might also like to view...

________ is a computer-based technique for analyzing business data

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

Computer Science & Information Technology

If a parser is analyzing a statement in a language and it sees exactly the same sequence of objects that appears on the right-hand side of a BNF rule, what is it allowed to do?

What will be an ideal response?

Computer Science & Information Technology

An indicator that displays between rows or columns in a table, enabling you to insert one or more rows or columns.

What will be an ideal response?

Computer Science & Information Technology

The result of =UPPER("Anthony") is ________

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

Computer Science & Information Technology