The general syntax for the function prototype to overload the assignment operator = for a class is ____.

A. friend className& operator=(const className&);
B. className& operator=(className&);
C. string className& operator=(className&);
D. const className& operator=(const className&);


Answer: D

Computer Science & Information Technology

You might also like to view...

On the computer, a(n) ________ is a rectangular frame that displays a program, folder, or file

Fill in the blank(s) with correct word

Computer Science & Information Technology

With ________ selected the database will be compacted and repaired each time it is closed

A) Compact Objects on Close B) Compact Application C) Compact on Close D) Compact & Repair

Computer Science & Information Technology

If you want to transfer an Excel file to another program, you can save the file using the CSV file format

Indicate whether the statement is true or false

Computer Science & Information Technology

Metropolitan area networks can transfer data at fast, LAN speeds but over smaller geographic regions than typically associated with a local area network.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology