School Commit Init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user