I have a little problem with implementing a recursive merge sort
I have to use a function mergesort that takes 3 arguments - an array, its size, and an help array(i.e mergesort(int [] array, int size, int[] temp] . I have to use only the temp array for the sorting,
and a merge function that takes 5 arguments - left array and its size, right array and its size, and final array
I think I know how to write the merge function but how do I write the recursive mergesort function?

