Question: A main ( ) function in a file named sortMain.c uses a hardcoded array of integers, invokes a function called mySort ( ) and prints
A main function in a file named sortMain.c uses a hardcoded array of integers, invokes a function called mySort and prints the sorted values to stdout.
The main function must invoke the sorting method as:
mySortint data unsigned int n;
The source file sortMain.c must include the file mySort.h which contains:
DO NOT EDIT
void mySortint array unsigned int numelements;
Furthermore, you must provide a mySort function that conforms to this signature in a file named mySort.c
Tutorial I Initial stab at lab
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
