Is EOF always negative?
EOF
I\'m thinking of writing a function that reads the next word in the input and returns the line number the word was found in or
EOF is a condition, rather than a value. The exact value of this sentinel is implementation defined. In a lot of cases, it is a negative number.