C: unable to print from file

In your: if ( buff == ‘\n’ && fe && fn ) //<– I assume you want to check if an empty line was read by checking it against the newline character. However, buff is not the character; it is a pointer to were all the characters read are stored. To check if the first … Read more