I\'m trying to change where the pointers min and max are pointer to, but it seems that the \"change\" is not sticking outside the function\'s scope (after the function has
Your function should be
int min_max(double ** min , double ** max , int size , double a[]);
and the calling statement should be
int *min,*max; min_max(&min,&max,...);