subject

Use pointers, structures, and dynamic memory allocation. You are to code and execute a C program to input names and addresses that are in alphabetic order and output the names and addresses to a new file in zip code order. Maximum of 50 names. The program should be modularized and well documented. You must use a structure for the names and address information. Allocate storage dynamically for each structure. Use I/O redirection for the input and output files. This program must be done with an array of pointers to structures. p_0110t. use an array of structures. This program MUST use multiple file format You may use string handling functions. Input Create a data file of names and addresses in alphabetic order (by name) as follows: first line: last name, first name second line: street address third line: city and state fourth line: zip Assume no en-ors (which means that you have to type carefully ) Output The program is to create a new file of names and addresses in zip code order with the above formate If duplicate records (2 or more) occur in the input file, only include one copy in the output file. YOU MUST USE POINTERS TO STRUCTURES AND MALLOC. NO GLOBAL VARIABLES.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
If an appliance consumes 500 w of power and is left on for 5 hours, how much energy is used over this time period? a. 2.5 kwh b. 25 kwh c. 250 kwh d. 2500 kwh
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
Answers: 1
You know the right answer?
Use pointers, structures, and dynamic memory allocation. You are to code and execute a C program to...
Questions
question
English, 05.03.2021 23:40
question
Mathematics, 05.03.2021 23:40
Questions on the website: 13722361