Pass array of unknown size to function

In reply to saritr:
Please re-read the last paragraph of my response.