is 1) float scalar_product(float *x, float *y)
the same as 2) float scalar_product(float x[], float y[])
?
I got some float a[3], b[3];
which contains some vectors and the function should give me the scalar product.
With my java background I wrote the 2)
function (on paper) but the sample solution used the 1)
with pointer's.
So my questions: Are they the same? If not, whats the difference and when should I use which?