#include int main() { FILE *fp; fp=fopen("file1.txt","w+"); fputs("The first string written",fp); fseek(fp,4,SEEK_SET); fputs("second",fp); fclose(fp); return 0; }