Question: Default Constructor Find - Takes in a string that can either be a phone number or a name and returns the found contact as a

Default Constructor
Find - Takes in a string that can either be a phone number or a name and returns the found contact
as a pointer. Returns a nullptr if a given string is not a name or a number in the contact system.
Add - Takes in a contact object and stores its memory address in the furthest-most empty position
in the array. The current order of contacts in the array must be preserved. (Note: passing by value
will result in a garbage pointer). It returns nothing. Also know that there will never be a
test case that tries to add a Contact that already exists in

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!