I need to read all the records in a file till the end and print it to an outputfile.
So I used feof() -
But this is not giving me any output i.e, the output file is empty.
Can anyone help??? Is the usage of feof() wrong??