Malloc problem with fread() to read file to structure in C | Unix Linux Forums | Programming
So the real question is: What are you trying to do? You are using fread() to fill in an integer, a 120 byte character array and a pointer with a character string read from the file. That clearly isn't what you want, but I'm not sure what you do want. Sinc...