Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   why is casting from a base class object to derived class object is unsafe? please exp (http://www.go4expert.com/forums/casting-base-class-object-derived-class-t9899/)

c_plus_plus_form_use 10Apr2008 09:51

why is casting from a base class object to derived class object is unsafe? please exp
 
why is casting from a base class object to derived class object is unsafe? please explain with examples


All times are GMT +5.5. The time now is 15:21.