I have an array declared as
Object array[N];
and a function as
void GetArray(void** array, size_t count)
{
*array = array;
*count = N;
}
I'm trying to call the function with this code:
size_t number;
GetArray(XXX, &number);
where is XXX what should I pass to get the array? Thank you
EDIT 1
Object *array
GetArray((void**)array, number)
EDIT 2
static Object array[N]