Question: Private data members string contactName string contactPhoneNumber ContactNode * nextNodePtr Constructor with parameters for name followed by phone number ( 1 pt ) Public member
Private data members
string contactName
string contactPhoneNumber
ContactNode nextNodePtr
Constructor with parameters for name followed by phone number pt
Public member functions
GetName Accessor pt
GetPhoneNumber Accessor pt
InsertAfterContactNode newNode Insert newNode after the current node pts
GetNext Accessor pt
PrintContactNode Output contactName and contactPhoneNumber of the current node according to the format shown in the example below.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
