以下程序错在哪里?
#include <stdio.h>
#include <string.h>
typedef struct
{
char c[10];
int
cenghao;
int cheweihao;
int shijian;
}point;
void display(point *q,FILE *fq);
int main()
{
char a[3][7]={0};
int i,j;
point b[13]={{"0",0,0,0},{"渝A11",1,1,20},{"渝A12",1,2,15},{"渝A13",1,3,10},{"渝A14",1,4,5}}7;
FILE *fq;
fq = fopen("stu.dat","a");
for(i=1;i<5;i++)
display(&b[i],fq);
for(i=1,j=1;j<5;j++)
{
a[i][j] = b[j].c;
printf("%s\n",a[i][j]);
}
return 0;
}
void display(point *q,FILE *fq)
{
fprintf(fq,"%s\t%d\t%d\t%d\n",q->c,q->cenghao,q->cheweihao,q->shijian);
}