object conversionsjust like initialization


Object Conversions

Just like initialization, conversions are also done automatically when an object of a derived class is assigned to an object of the base class. Though, the compiler resorts to a member-wise assignment in the absence of an overloaded function for the assignment operator.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: object conversionsjust like initialization
Reference No:- TGS0309448

Expected delivery within 24 Hours