#include<stdlio.h>
#include<stdlib.h>
typedef struct student
{
char name[20];
int age;
struct student *next;
}stu;
int main()
{
struct student *phead,*pnew,*ptail;
pnew=(struct student*)malloc(sizeof(stu));
ptail=pnew;
phead=pnew;
return 0;
}onemoo
相关分类