I have a 2 dimensional array: list
I need to allocate a certain amount of space to it, determined by a third variable, space.
The size of the array is only determined at run-time.
How do I say allocate memory to make the array: list[space]
where the 13 is always constant.
I have tried defining the array as "char list" at the start of the function and then calling realloc, but it doesn't work.