There is only one parameter for an overloaded operator function (for a binary operator) when it is placed into a struct definition because:

A. there is only one return value
B. the left operand is not an object, so it must be passed into the parameter
C. if there were two parameters, the compiler would not know which one to use
D. the overloaded operator function is called for the operand on the left (which must be an object of a struct), so the right operand is passed in as a single parameter


D

Computer Science & Information Technology

You might also like to view...

Vector graphics are created with lines and ____.

A. curves B. pixels C. handles D. fills

Computer Science & Information Technology

Match each of the following extensions to its file type:

I. .jpg II. .mp3 III. .docx IV. .xlsx V. .mov A. audio file B. Excel workbook C. Word document D. image file E. video file

Computer Science & Information Technology

Word provides built-in headers and footers but also allows them to be customized

Indicate whether the statement is true or false

Computer Science & Information Technology

____ is the degree to which a module depends on other modules to do its work.

A. Cohesion B. Coupling C. Efficiency D. Vulnerability

Computer Science & Information Technology