int puts(char *str)使用
int puts(char *str)中的char *str 怎么不能是数组指针呢 ??
使用
char (*Table)[]={"0","1","2","3","4","5","6","7","8","9"};
for(i=0;i<10;i++)
{
puts(Table[i]);
}
发生错误
但是使用指针数组
char *Table[]={"0","1","2","3","4","5","6","7","8","9"};
后却是正确的?