How do I send multi dimentional arrays to functions and output each line in the array and are there different ways to acheive this i,ve got.
void output(char *list);
int main
{
char list[7][70];
/* array filled here */
output(list);
}
void output(char *list)
{
int loop;
for(loop=0;loop<7;loop++)
printf("%s\n",list[loop]);
}