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

What are the benefits of B Y O D to an organization?

What will be an ideal response?

Computer Science & Information Technology

Embedded style sheets are created automatically by Dreamweaver if the designer does not create them.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology