Question: c++ 2. Design, implement and test a class that represents an address that consists of a house number, street name and city. By default, the

c++

2. Design, implement and test a class that represents an address that consists of a house number, street name and city. By default, the street name and city should be not provided and the house number should be equal to 0. This class should also provide a constructor which enables all of the values to be set. You need to override the copy constructor, assignment operator and destructor. Note: You need to define the street name and city as a character pointer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!