Return by reference was used for the overloaded [ ] operator function of the Array class because:
A. it is possible that an invalid index of the Array might be accessed
B. the function call for this function might appear on the left of an assignment
C. the function was inlined
D. conditional compilation was used
B
You might also like to view...
Use the ________ function to display the current date
Fill in the blank(s) with the appropriate word(s).
Which of the following is NOT an Electronic Access Control (EAC) component?
A. Electromagnetic lock B. Tumbler C. Credential reader D. Closed door sensor
What indicates that a cell has been changed on a worksheet?
A. A border with a small triangle in the upper-left corner B. A border with a small triangle in the lower-right corner C. A light-green background and red triangle in the upper-right corner D. A light-green background and red triangle in the lower-left corner
Which of the following operators compare using short-circuit evaluation?
A. == B. & & C. ++ D. --