One reason to pass a parameter by const reference is:

A. we do not want the function to change the values of any data members
B. we want changes in the parameter to be reflected back to the calling function
C. we want to constantly use pass by reference
D. the compiler will catch an attempt to change the value of the parameter

D

Computer Science & Information Technology

You might also like to view...

A(n) ________ appears in the margin beside the text where a change has been made

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ________ is used by older operating systems that require a user to type all commands

A) menu B) GUI C) dialog box D) command-line interface

Computer Science & Information Technology