2. 假设你有以下方法:
double * myMethod(double (*f)(double[]), double *x, int size)
{
//do something and return
}
为什么我这样说呢?
double * myMethod(double (*f)(double *), double *x, int size)
{
//do something and return
}
replacing the [] with * ?