Can derive class constructor calls base class constructor first
Yes
Does base class anonymous object creates when we create an object on drive class
Yes
What is copy constructor
The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object from another of the same type.
Does programmer explicitly call base class copy constructor from derive class copy constructor
Yes
What are 2 ways of calling base class assignment operator from derived class
- Implicitly