I have in my main-Function an double Array:
double ary1D[4] = {1.1, 2.2, 3.3, 4.4};
and have a function call:
print1D_A(&ary1D[0],Num);
my function:
void print1D_A(double *ary1D, int Num);
so my question is, Whats is the difference between &ary1D[0] and &ary1D. My compiler give me an error, if I call the function with &ary1D. But the argument &ary1D is the first Adress of my Array, just like &ary1D[0].
Can I change the argumentlist of my function, that I can call it with
print1D_A(&ary1D,Num);