求指教呀呀呀呀呀
为什么这个运行的时候出现问题??????????????????#include<stdio.h>
#include<stdlib.h>
int main(void)
{
FILE *fp;
char *s1="Fortran",*s2="Basic";
if((fp=fopen("test.txt","wb"))=NULL){
printf("Can't open test.txt file\n");
exit(0);}
fwrite(s1,7,1,fp);
fseek(fp,0L,SEEK_SET);
fwrite(s2,5,1,fp);
fclose(fp);
return 0;
}