Append to the end of a file in C March 2, 2023 by Tarik Open with append: pFile2 = fopen("myfile2.txt", "a"); then just write to pFile2, no need to fseek().