下面

对下面程序描述错误的是(   )。 #include  main()  { int c;   FILE *fp; if((fp=fopen("file.dat","rb+"))!=NULL)       { c=fgetc(fp); c=c+1;} fseek(fp,0,SEEK_SET);fputc(i,fp);fclose(fp);}

对下面程序描述错误的是(   )。 #include  main()  { int c;   FILE *fp; if((fp=fopen("file.dat","rb+"))!=NULL)       { c=fgetc(fp); c=c+1;} fseek(fp,0,SEEK_SET);fputc(i,fp);fclose(fp);}B

阅读下面算法。说明该算法的功能。Typedef char DataType;typedef struct node{DataType data;struct node *next;}ListNode;typedef ListNode *Linklist;Linklist what(Linklist h){{if(h&&h->next){q=h;h=h->next;p=h;while(p->next)p=p->next;

阅读下面算法。说明该算法的功能。Typedef char DataType;typedef struct node{DataType data;struct node *next;}ListNode;typedef ListNode *Linklist;Linklist what(Linklist h){{if(h&&h->next){q=h;h=h->next;p=h