您的位置:首页 > 产品设计 > UI/UE

Question 8: In which of the following scenarios is a Copy Constructor called or invoked?

2010-11-30 10:51 701 查看
A. When no conversion function exists for converting the class object to another class object
B. When an existing object is assigned an object of its own class
C. When a function receives as an argument, an object of the class, by value
D. When a function returns an object of the class by value
E. When creating an object and initializing it with an object of its own class

C D E
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐