[Error] cannot convert 'char (*)[10]' to 'char**' in initialization
#include<stdio.h>int main()
{
char name=
{
"jfd",
"tzr",
"qkf",
"lz"
};
char **ch=name;
int i,j;
for(i=0;i<4;i++)
{
for(j=0;j<10;j++)
{
printf("%c",*(*(ch+j)+i));
}
printf("\n");
}
return 0;
} char (*ch)=name;
页:
[1]