fork download
  1. #include <stdio.h>
  2.  
  3. int main ()
  4. {
  5. FILE *fp;
  6. int ch;
  7.  
  8. fp = fopen("file.txt", "w");
  9. for( ch = 33 ; ch <= 100; ch++ )
  10. {
  11. putc(ch, fp);
  12. }
  13. fclose(fp);
  14.  
  15. return(0);
  16. }
Runtime error #stdin #stdout 0s 2296KB
stdin
Standard input is empty
stdout
Standard output is empty