Create a class Number with a pointer as a data data member of integer type. Write user defined copy constructor tothe class and implement the deep copy for the Number class objects. So when a new object is created from anold object of the Number class, pointer data member can point different memory block.
c++ question
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here