Quote:
When using another new memory space, the following read will go wrong
You should detail that.
Please note you don't neeed to
fseek
iteratively, the file pointer is already there, due to previaous read. Moreover you could read all the array items in a single read operation.