Suppose we have a class:register and another class rege that extends registers(subclass of register).
if we declare a handle for both the classes :
i am not able to understand why cant we simply do c3=c2
and access the elements of reg class? Why do we need to use the cast operator? Basically i am not able to understand the importance of polymorphsm in this regard?