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

    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

你可能感兴趣的:(object,function,Class,Constructor)