Advertisement
DrAungWinHtut

fileio_gcc.c

Nov 16th, 2022
916
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     FILE *fp;
  6.  
  7.     fp = fopen("I:\\test\\hello.txt", "w");
  8.  
  9.     fprintf(fp, "I am Dr. Aung Win Htut");
  10.  
  11.     fclose(fp);
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement