#include"stdio.h"
struct student{
long number;
float score;
struct student * next;
};
void main()
{
struct student a={10101,89.5},b={10103,90},c={10107,85},*head,*p;
head=&a;
a.next=&b;
b.next=&c;
c.next=NULL;
p=head;
do{
printf("%ld, %5.1f\n",p->number,p->score);
p=p->next;
}while(p!=NULL);
}