Closed Korilakkuma closed 2 years ago
fgets function returns NULL if error occured. Therefore, end loop in the case.
fgets
NULL
fgets
function returnsNULL
if error occured. Therefore, end loop in the case.