[新手] 为什么没有出任何结果
/* Passing an array of pointers to a function. */#include <stdio.h>
void print_strings(char *p[],int n);
int main(void)
{
char *message[8]={"Four","score","and","seven","years","ago,","our","forefathers"};
print_strings(message,8);
return 0;
}
void print_strings(char *p[],int n)
{
int count;
for(count=0;count<0;count++)
printf("%s ",p[count]);
printf("\n");
}
该程序可以通过编译器,但运行不出任何结果。为什么,请高手解答