To include the operator function operator+ as a nonmember function of the class rectangleType, its prototype in the definition of rectangleType is: ____ rectangleType operator+(const rectangleType&, const rectangleType&);

A. bool
B. int
C. double
D. friend


Answer: D

Computer Science & Information Technology

You might also like to view...

How can you change the brush size of the Spot Removal and Adjustment Brush tools without taking your cursor away from the job at hand?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is NOT a major type of cybercrime reported to the IC3?

a. Government impersonation scams b. identity theft c. malware fraud d. advance fee fraud

Computer Science & Information Technology

Conditions are said to be ________ if at most one condition can be true at a time.

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

Computer Science & Information Technology

The syntax for the conditional operator is ____.

A. conditional expression : expression1 ? expression2; B. conditional expression < expression1: expression2; C. conditional expression ? expression1: expression2; D. conditional expression = expression1 || expression2;

Computer Science & Information Technology