A copy constructor is invoked when:
A. a function returns by value
B. an argument is passed by value
C. a function returns by reference
D. none of the above
Answer:B
A copy constructor is invoked when:
A. a function returns by value B. an argument is passed by value C. a function returns by reference D. none of the above