#include<stdio.h>
int main()
{
int n,i,j;
char *q;
printf("请输入人数:\n");
scanf("%d",&n);
q=(char * )calloc(n,sizeof(double));
if(q==NULL)
{
printf("iuhfdua\n");
exit(0);
}
printf("请输入您的姓名:\n");
for(i=0;i<n;i++)
{
scanf("%c",(q+i));
printf("ok!!!!!\n");
}
for(j=0;j<n;j++)
{
printf("%c\n",*(q+j));
}
return 0;
}
DOUBLE_l
相关分类