Exploring Basic Concepts
Rule of three corresponds to automatic generation of 3 special member functions – constructor, destructor and…