Hi everyone,
I need to write the function:
int** ptrSort(int* arr, int size)
The function gets an array and its size,and returns a pointers array, which includes pointers that point to the array (arr) cells, so they are sorted from the smallest to the biggest, and I have to use merge sort method to do that. then, I should print the sorted numbers.
I wrote a program,and the functions of course, but it doesn't work
The file attachment doesn't work, so I pasted it here:
Pastie
Any help will be appreciated
Thanks a lot!



3Likes
LinkBack URL
About LinkBacks





