Stetig Consulting interview question

c++,last year project,polymorphism,friend function , constructor,distructor,copy constuctor