Pointer

hi.
lets say i have a variable arrayPointer that points to a float array
float* arrayPointer;

and given the declaration

float velocity[10];

how can i make arrayPointer point to velocity?
1)arrayPointer = velocity; or
2)arrayPointer = &velocity[0];

which is better?
They both mean the exact same thing.
Topic archived. No new replies allowed.