The general syntax to include the copy constructor in the definition of a class is ____.

A. className(className& otherObject);
B. className(className otherObject);
C. className(const className& otherObject);
D. className(const className* otherObject);

Answer: C

Computer Science & Information Technology

You might also like to view...

Office Online services include Web-based versions of all of the following Microsoft products EXCEPT:

A) Word 2013. B) Excel 2013. C) Access 2013. D) PowerPoint 2013.

Computer Science & Information Technology

By default, only the ________ options are allowed when the worksheet is protected

A) Select locked cells and Select unlocked cells B) Delete rows and Delete columns C) Format rows and Format columns D) Edit objects and Format cells

Computer Science & Information Technology