Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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: