2 ms·
Actually the ISO C99 language standard requires that every source file ends with a newline (§5.1.1.2, 2.): "A source file that is not empty shall end in a new-
by the_why_of_y 11y ago
Actually the ISO C99 language standard requires that every source file ends with a newline (§5.1.1.2, 2.):
"A source file that is not empty shall end in a new-line character [...]"
So if your C implementation doesn't complain about source files that don't end with a newline, you're unknowingly relying on a language extension.