Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(int argc, char **argv)
  4. {
  5.     FILE *fp;
  6.     fp=fopen("test.txt", "w");
  7.     fprintf(fp, "Hello hello is anyone home?\n");
  8.     fclose(fp);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement