If we change price/model_no. of ‘c’,will price/model_no. will also change of ‘d’ as ‘d’ is copy of ‘c’?
car d(car c).
Please answer this?
hello @garganshul151
no it will not happen changes in one object will not be reflected in another object.
if there is pointer involved then u can see such thing