My bad … it did not work …
The problem was, my objective was to create an array for
each columns. i.e
dataout[0] = an array of first column entries in the file
dataout[1] = an array of second column entries in the file
dataout[N-1] = an array of Nth column entries in the file
But the problem is,
I do not know, how do I do fscanf on to the file that has N no. of %h and loading into
this dynamic array.
Is there a better way to deal with this problem?