You just use pointers to pass arrays of any size to a function/method?
something I found (I did not write this)
Do you always have to declare the array using pointers in order to pass the array to a function
// This takes a list of vertices and the vertex count to determine if the camera's
// shere has collided with them.
void CheckCameraCollision(CVector3 *pVertices, int numOfVerts);
//USE A POINTER TO PASS IN AN ARRAY OF AN UNSPECIFIED SIZE
For example the array that is actually passed to this function when it is called is declared as: