Closed labomb closed 5 years ago
fgetc returns type int, not char. The != comparison for EOF will always be true in read_file with 'c' as char.
fgetc returns type int, not char. The != comparison for EOF will always be true in read_file with 'c' as char.