In C, what is the difference between these two?
fread(buffer, fileLen, 1, file);
fread(buffer, 1, fileLen, file);
Both reads the file into an array, and fileLen * 1 == 1 * fileLen
, as we all know.
In C, what is the difference between these two?
fread(buffer, fileLen, 1, file);
fread(buffer, 1, fileLen, file);
Both reads the file into an array, and fileLen * 1 == 1 * fileLen
, as we all know.