What is the proper way to return an array from a function in C? considering the caller doesn't know the size of the array, but without its size he cannot iterate over the array.
edit: just to clarify, the caller doesn't and shouldn't know the size of the returned array when calling the function.