But you need some way to know how big the array is: some marker, like 0 at the end of a string, or a count of the number of elements in the array, which would mean you'd return a structure (or class) that looks something like this:
struct CountedArray
{
int numberOfElements
MyType* pStartOfElements;
}
Or you need some guarantee that the function will only return
four-element arrays.
RobR
