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.
2. The main() function must invoke the sorting method as:
mySort(int data[], unsigned int n);
3. The source file sortMain.c must include the file mySort.h which contains:
/* DO NOT EDIT */
void mySort(int array[], unsigned int num_elements);
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!