+p->mark5)){strcpy(exchange.studentNumber,q->studentNumber);/*先复制q结点信息到exchange*/strcpy(exchange.studentName,q->studentName);strcpy(exchange.className,q->className);exchange.mark1=q->mark1;exchange.mark2=q->mark2;exchange.mark3=q->mark3;exchange.mark4=q->mark4;exchange.mark5=q->mark5;strcpy(q->studentNumber,p->studentNumber);/*再复制p结点信息到q*/strcpy(q->studentName,p->studentName);strcpy(q->className,p->className);q->mark1=p->mark1;q->mark2=p->mark3;q->mark3=p->mark3;q->mark4=p->mark4;q->mark5=p->mark5;strcpy(p->studentNumber,exchange.studentNumber);/*最后复制exchange结点信息到p*/strcpy(p->studentName,exchange.studentName);strcpy(p->className,exchange.className);p->mark1=exchange.mark1;p->mark2=exchange.mark2;p->mark3=exchange.mark3;p->mark4=exchange.mark4;p->mark5=exchange.mark5;}q=q->next;}r=r->next;}