S
subramanian100in
In his book, Stroustrup has mentioned that slicing can be a source of
surprises and errors. I am unable to understand it. Kindly give an
example where slicing can lead to surprise and error.
Thanks
V.Subramanian
surprises and errors. I am unable to understand it. Kindly give an
example where slicing can lead to surprise and error.
Thanks
V.Subramanian