Question: Create a Code Blocks project named LinkedLists. This program will use a set of data structures into which the user will enter contact information. Globally
Create a Code Blocks project named LinkedLists. This program will use a set of data structures into which the user will enter contact information.
Globally declare a ContactInfo struct.
Create a function that asks for contact information and places the information into a struct. ContactInfo *getContactInfo( void );
Call getContactInfo ten times from a for loop, and each time add the new data structure to the end of the list (use a function named addContactInfoToList( ContactInfo *info ) to add the new data structure to the list)..
Write a function that displays all of the data in the list. Please use the C language and include source code comments.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
