Reference type is useful for

a) implementing call-by-reference
b) overloading operators in a natural way
c) return type from index operator overloading
d) different from the type the reference refers to, so ampersand must be used in the
declaration in a class as well as in the separate definition

a), b) d) e) are correct.

Computer Science & Information Technology

You might also like to view...

With respect to copyright issues, the legal use of small amounts of information for educational purposes falls under Fair Use guidelines

Indicate whether the statement is true or false

Computer Science & Information Technology

The network interface layer of the TCP/IP model corresponds with which of the following layers of the OSI model? (Select TWO).

A. Transport layer B. Network layer C. Session layer D. Physical layer E. Presentation layer F. Data link layer

Computer Science & Information Technology