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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started