Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saif86 authored Nov 26, 2018
1 parent 0daca12 commit 8e6d7ec
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# DeepCopy-Multi-level-Inheritance
# DeepCopy & Multi-level Inheritance
How to apply concepts of copy constructor and copy assignment to ensure deep copying

## Task 1:
Write the copy constructor and copy assignment operator for the following inheritance to ensure deep copying for Name, Program and Designation attributes.
![task1](https://user-images.githubusercontent.com/41892175/49003691-6dda9080-f19d-11e8-99d8-9950ce4e8bc1.jpg)

## Task 2:
Write the copy constructor and copy assignment operator for the following inheritance to ensure deep copying for color attribute.
![task2](https://user-images.githubusercontent.com/41892175/49003709-759a3500-f19d-11e8-87a4-20827570c264.jpg)

## Task 3:
Implement the following multi-level inheritance in C++ using public inheritance.
![task3](https://user-images.githubusercontent.com/41892175/49003719-7e8b0680-f19d-11e8-87c5-e4e78ed2cfba.jpg)

0 comments on commit 8e6d7ec

Please sign in to comment.