Files
2024-08-31 12:07:21 +03:00

11 lines
200 B
C

#include<stdio.h>
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;
}