#include <stdio.h> int main(void){ char s = 255; if(s==EOF)puts("YES"); else puts("NO"); return 0;}
Standard input is empty
YES
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!