Can someone plus lead me in the right direction with this problem?
1.) Write a function to add an item to the list, given a name and a phone number as arguments. Don't forget to allocate memory for each of the data items in the node; return a success or fail flag:
Here's what I have:
int add_item (char a_name[], char a_phone[])