>>273

main()
{
struct list *a, *b;
char *n,*t;
int fig = 0;
b = NULL;

while(1) {
printf("名前キボンヌ。終了:e\n");
scanf("%s", n);
if(n[0] == 'e') break;
a = (struct list *)malloc(sizeof(struct list));
a->name = (char *)malloc(strlen(n)+1);
strcpy(a->name,n);
printf("電話キボンヌ。終了:e\n");
scanf("%s", t);
if(t[0] == 'e') {
fig = 1;
break;
}