If I am reading an array from a pointer, how can I get the first element of array: Right now the following code gets me reading an array of 500 intergers 100 at a time. What if I want to make the first element of my array the sizeof(int). I guess thats a better way to word that question?
Right now I am declaring the array size of 500 but if I want to put in my array first element can I declare &data and make it equal to size of int or do I have to take i when its at 0 and use it for my sizeof int.
fptr = (fopen("xfile.dat", "rb");
for (i=0, i<500, i +=100)