Question: Complete the list.c program shown below (you must write the two functions whose signatures are shown in red). The program reads a file of integers
Complete the list.c program shown below (you must write the two functions whose signatures are shown in red). The program reads a file of integers (the filename is specified on the command line) and builds a linked list of the unique integer values and a count of how many times that integer value has been seen. For your two functions:
addToList If the number does not exist, add it to the list. If it exists, increment the count of occurrences for that number. Add odd numbers to the front of the list, and even numbers to the end of the list
stats Prints a single line of output that gives the number of even numbers and the number of odd numbers in your data structure.

# include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
