savefile in c # code example Example: file in C Click to copy//to open a file FILE=*fp; fp=fopen("one.txt", "w"); //to close file fclose(fp);