please look into my code
Why is my code giving error while running for deep copy
@Anku47 strlen function is defined in cstring library, so include it!
also after doing this program may show a warning, this is because the constructor expects a char array but you are passing a string “BMW”, so pass a char array instead.