C programming problem in bold below materials. Using the following files inserti
ID: 3870895 • Letter: C
Question
C programming problem in bold below materials.
Using the following files
insertionSort.c
mergeSort.c
These two files need a main() to run their functions insertionSort() and mergeSortWrapper(). Then all three C files need a header file to inform them of what the others have that they need, including Node.h which defines the data-structure. Please finish both the main.c and headers.h
Please make print() print the whole linked list.
For headers.h, not everything needs to be shared.
main() needs insertionSort() and mergeSortWrapper()
Both insertionSort() and mergeSortWrapper() need print().
Node.h
main.c
Explanation / Answer
If I have missed something please comment, I am available to correct it.
Printing function:
void print (const struct Node* nodePtr ) {
Contents of header file:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.