I bumped into this problem and I am unsure how to solve this. I have a function that accepts 3 arrays as its function parameter. Each array has 360 elements.
and I have declared 3 pointers to the address of the first element of the arrayCode:float Current_Dependant_Force(float I1, float I2, float I3)
My question is that how do I get the pointers to dereference whats inside the array and increment it to use the next value.Code:float *It1, *It2, *It3; It1 = I1; It2 = I2; It3 = I3;
Something like this
A= It1*It2 It1*It2 (I want to use pointers to perform this operation)
I would be very greatful if anyone can help.