subject

This week we will create a Linked-List (data structure) that will consist of 4 source code files. You will be given three files that are already written: main. c, createList. c and releaseMemory. c (plus a header file prog9.h), the fourth file (called p9.c-which you need to write). To copy these files to your account, perform the following commands: Login to your ctec. clark. edu account (i. e. the Linux server). At the prompt, type rightarrow mkdir prog9 At the prompt, type rightarrow cd prog9 At the prompt, type rightarrow cp/home/faculty/skoss/p9 files/*. At the prompt, type rightarrow ls -l You should now see the following 5 files listed: 1. createList. c 2. main. c 3. p9.c 4. prog9.h 5. releaseMemory. c You need to add code to the file named p9.c If you open p9.c with vi, you'll see a function definition already started as follows: void print_list (PERSON *person_ptr) { } As you can see from the function definition, you are passed a pointer (i. e. person_ptr) to a PERSON object. The pointer will be pointing at the beginning of a linked-List of PERSON objects. You need to traverse the linked-list and print the information (i. e. name & age) to the screen of each object as you traverse the list. Use the following command to build your executable: gcc main. c createFile. c p9.c releaseMemory. c p9

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:00, paige1614
When you collaborate or meet with a person or group online, it is called
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, lailahussain99
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
image
Computers and Technology, 24.06.2019 23:50, fish64
What is your fav video game currently: a) roblox b) fortnite c) apex legends d) pubg
Answers: 2
You know the right answer?
This week we will create a Linked-List (data structure) that will consist of 4 source code files. Yo...

Questions in other subjects:

Konu
Mathematics, 02.03.2021 17:00
Konu
Mathematics, 02.03.2021 17:00
Konu
Mathematics, 02.03.2021 17:00