suppose you have the following method:
double * myMethod(double (*f)(double[]), double *x, int size)
{
//do something and return
}
Why can't I write as follows?
double * myMethod(double (*f)(double *), double *x, int size)
{
//do something and return
}
replacing the [] with * ?