What if I don't know the length of the array?

I take it you mean I should use an array rather than a pointer...?