Between formal parameters in a function definition, like:
void change (int *s)
{
s[0] = 42;
}
And another definition:
void change (int s[])
{
s[0] = 42;
}
They are the same I assume, as *(a+0) is the same as a[0].
Is there a reason to prefer one over the another? Please note, the preference pertains to coding style.