求教数组中的问题
想输入如下图形:*
***
*****
程序为:
main()
{
char a[3][5]={{" "," ","*"," "," "},{" ","*","*","*"," "},{"*","*","*","*","*"}};
int i,j;
for(i=0;i<3;i++)
{
for(j=0;j<5;j++);
{
printf("%c",a[i][j]);
}
printf("\n");
}
getch();
}
WIN-TC编辑器中显示:初始化程序语法错误在main函数中,求教到底哪里错了?