誰かがそのコードの何が問題なのか教えてもらえますか?そして、私はクラスでそれを学んでいないので、mallocを使用できません.つまり、mallocなしで文字列の2次元配列を作成できますか?変更/印刷/スキャンしてください。よろしくお願いします
int main() {
size_t x,y;
char *a[50][7];
for(x=0;x<=SIZEX;x++)
{
printf("\nPlease enter the name of the new user\n");
scanf(" %s",a[x][0]);
printf("Please enter the surname of the new user\n");
scanf(" %s",a[x][1]);
printf("Please enter the Identity Number of the new user\n");
scanf(" %s",a[x][2]);
printf("Please enter the year of birth of the new user\n");
scanf(" %s",a[x][3]);
printf("Please enter the username of the new user\n");
scanf(" %s",a[x][4]);
}
return 0;
}