If fgets() returns a null pointer, then you would not want to replace the newline with a null character since either there were no characters read, or there was an I/O error.Quote:
Originally Posted by $l4xklynx
It is not wrong in C.Quote:
Originally Posted by $l4xklynx
That is true.Quote:
Originally Posted by $l4xklynx

