Understanding fgets error handling, when passing >sizeof(string) in stdin
I have been sitting on this simple fundamental mistake for a while.
How do we avoid strings in the stdin, that are bigger than a defined sizeof(sring). Here sizeof(stdin_passed) > sizeof(word_new). When we are restricted to use ferror or feof.