The newline character is represented by \"\\n\" in C code. Is there an equivalent for the end-of-file (EOF) character?
\"\\n\"
This is system dependent but often -1. See here