FILE *out=fopen("name_of_file.txt","w");. 4. fputs("Hello File",out);. 5. fclose(out);. 6. return 0;. 7. } c program to read and write to a file.
確定! 回上一頁