>>292
> scanf("%s",p[i].name);
buffer overrun...