Declare a class Fruits with any two data Members and two Member functions. Derive 2 class Mango and Orange from
This problem has been solved!
Do you need an answer to a question different from the above? Ask your question!
Create two Pointer objects of Fruits class and convert one to the Mango Class Pointer Object and One to the Orange Class Pointer Object through explicit Cast