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

The Picture Tools Format tab is a(n) ________ tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

Text that is flush left causes the text along the right margin to be ________

A) ragged right B) justified C) centered D) ragged left

Computer Science & Information Technology