The function prototype for a correctly-written overloaded assignment operator for a class called Bar might look like this:

A. void operator =( const Bar & right );
B. Bar operator =( const Bar & right ) const;
C. inline Bar operator=( const Bar & right ) &;
D. Bar & operator=( const Bar & right );

D

Computer Science & Information Technology

You might also like to view...

Data in a Word table cannot be sorted from Z to A

Indicate whether the statement is true or false

Computer Science & Information Technology

____ view allows a speaker to use dual monitors.

A. Presenter B. Dual Monitor C. Speaker D. Multiple Monitor

Computer Science & Information Technology