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

After testing the hardware, the ____ program looks for the operating system.

A. safe B. testing C. Microsoft Windows D. boot

Computer Science & Information Technology

Which of the following lists follows Excel's order of operations?

A) Parentheses Exponentiation Addition and subtraction Multiplication and division B) Parentheses Exponentiation Multiplication and division Addition and subtraction C) Exponentiation Parentheses Multiplication and division Addition and subtraction D) Exponentiation Parentheses Addition and subtraction Multiplication and division

Computer Science & Information Technology

Fill in the blank with the correct response. The concert begins at _____.?

A. ?8:30 B. ?830 C. ?0830

Computer Science & Information Technology

Users at a remote office connected to headquarters are using a dynamic routing protocol. There are several paths to headquarters in the event of a route failure. The network technician has noticed that when a failure occurs there is a time lag of several minutes until service is restored. Which of the following describes the time lag?

A. Convergence B. Update algorithm C. Static routing D. Distancevector

Computer Science & Information Technology