fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. char s = 255;
  6. if(s==EOF)puts("YES");
  7. else puts("NO");
  8.  
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
YES