I have a problem when I want to pass a pointer of an array to a function:
I have a structure type contains an array
how could I passing a sub array to the function "Smallest" which can find the smallest value in the sub array. I wrote this and it is invalid..
This is the prototype of the function "Smallest":Code:num = Smallest(H->Elements[start], &pointer, start, end);
Code:int Smallest(int array, int *i, int start, int end)