Copy constructor, Accounting Basics

Can a copy constructor accept an object of similar class as parameter, in place of reference of the object?

Posted Date: 2/13/2013 1:02:20 AM | Location : United States

No. It is specific in the definition of the copy constructor itself. It should cause an error if a programmer specifies a copy constructor along with a first argument that is an object and not a reference.

Posted by Jermy | Posted Date: 2/13/2013 1:03:22 AM

Related Discussions:- Copy constructor, Assignment Help, Ask Question on Copy constructor, Get Answer, Expert's Help, Copy constructor Discussions

Write discussion on Copy constructor
Your posts are moderated
Related Questions
Journal voucher is the voucher in which all the adjustment related entries and non cash non bank transactions are come ijournal eg-dep, some of them book the bills in journal and

what would be the entry for-"rent recieved in advance"

2013, May 1st: 1 started in bnusiness with capital in cash of 1,800 and 4,200 in the bank. 2nd: Bought goods on credit from: j.Ward 600, P.Green 515

Q. Describe about accounting. Why is it called language of business? Accounting is known as -an art of recording, classifying and summarizing transactions and events in a si

John is considering the best capital structure for his firm. Suppose there are two capital structures for him to choose from. Structure A would have 7,000 shares of stock and $160,

what is the BRS

Ken Young and Kim Sherwood organized Reader Direct as a corporation; each contributed $49,000 cash to start the business and received 4,000 shares of stock. The store completed its

The book of Deven Verma could not be tallied. The account transferred the difference of Rs. 1.270 in the suspense account on the debit side. the following mistakes were found later

1.A business man strated business with 100million on the bank account obtained as a retirement package, 2.He used part of the money and bought a building worth 60 million, 3.He let