What is the difference between the two functions in C?
void f1(double a[]) { //... } void f2(double *a) { //... }
If I were to call
The difference is purely syntaxic. In C, when the array notation is used for a function parameter, it is automatically transformed into a pointer declaration.