explain how to convert one class type to another class type with example
Answers
Answered by
0
Explanation:
Through class conversion, one can assign data that belongs to a particular class type to an object that belongs to another class type. where '=' has been overloaded for objects of class type 'B'. Class conversion can be achieved by conversion function which is done by the use of operator overloading.
Similar questions