Why i am getting error in this code of shallow and deep copy?
Hey,your code for deep and shallow copy was correct.The conversion from constant string “BMW” to char pointer was causing error.I have changed it and now it is working fine.
but in video , the code was same.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.