A friend function needs to be passed an object of the class. If the friend only needs to access the object, but not change its data members, then the object should be passed as _______________

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


a constant reference

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. Any stream created from a finite data structure will have a finite number of elements. b. Eager evaluation makes it possible to work with infinite streams that represent an unknown, potentially infinite, number of elements. c. You create infinite streams with the stream-interfaces methods iterate and generate. d. All of the above statements are true.

Computer Science & Information Technology

In shell commands, the "if" control word must be followed by

A. any shell command B. any arithmetic or logical expression

Computer Science & Information Technology

Match the following Trust Center options with the correct description:

I. Add-Ins II. Privacy Options III. Trusted Documents IV. Trusted Publishers V. File Block Settings A. Enables you to trust network documents to open without Excel displaying any security warnings B. Directs Excel to trust digitally signed workbooks by certain creators C. Enables you to select which types of files, such as macros, to open in Protected View or which file type to prevent saving a file in D. Enables you to deal with nonmacro privacy issues E. Enables you to specify which add-ins will be allowed to run given the desired level of security

Computer Science & Information Technology

The Table Styles gallery is on the Table Tools ________ contextual tab

Fill in the blank(s) with correct word

Computer Science & Information Technology