We cannot always return by reference because:

A. we might be returning a local object, which would be destroyed at the end of function execution
B. we might not want changes in the object of the called function to be reflected back to the calling function
C. the address of the returned object might not be known
D. the name of the object is not always permanent


A

Computer Science & Information Technology

You might also like to view...

Tab stops can be used to indent and align text

Indicate whether the statement is true or false

Computer Science & Information Technology

Turning on or starting a computer is commonly known as ________ the computer

Fill in the blank(s) with correct word

Computer Science & Information Technology

Explain why a precompiler is needed for embedded SQL and SQLJ but not for ODBC and JDBC.

What will be an ideal response?

Computer Science & Information Technology

If you have an array of 100 sorted elements, and you search for a value that does not exist in the array using a binary search, approximately how many comparisons will have to be done?

a) 7 b) 100 c) 50

Computer Science & Information Technology