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
Get step-by-step solutions from verified subject matter experts
