hello i have this code
int main ()
{
char * arrP1 [ ] = { "father", "mother", NULL},
* arrP2 [ ] = { "sister", "brother", "grandfather", NULL },
* arrP3 [ ] = { "grandmother", NULL},
* arrP4 [ ] = { "uncle", "aunt", NULL };
char ** arrPP [ ] = { arrP1, arrP2, arrP3, arrP4 , NULL};
printAllStrings( arrPP );
}
i am trying to pass arrPP as a parameter :
void printAllStrings ( char **A[] ) {
}
i am getting a warning error :
passing arg1 from incompatible pointer type .
what should i do ?