#include <stdio.h>

void wprt(char (*sp)[7], int n);

int main(void)
{
char str[3][7] = {"JAPAN", "USA", "FRANCE"};

wprt(str, 3);

return 0;
}

void wprt(char (*sp)[7], int n)
{
int i, j;

for(i = j = 0; i < n; i++, sp++, j = 0)
{
printf("string: %d line = ", i);
while(*((*sp) + j) != '\0')
{
printf("%c", *((*sp) + j ));
j++;
}
printf("\n");
}
}