void normalizeStepOne (double F[], double hsum, double V, double Fkjsum)
{
int i;
F[i] = hsum/V;
Fkjsum+=F[i];
return;
in main I try to call this function in this way:
normalizeStepOne (double F[0], double Csum, double VC, double Fkjsum);
and I got error: syntax error before ‘double’
whats wrong here?
when calling a function there is no need to specify a data type, so your call should be:
Between first parameter as from the function definition i can see is an array type but you are passing an individual array element i.e.
F[0], shouldn’t it beFonly