I know this has been asked numerous times before. However, I'm unable to get rid of a warning.
void function (char** cppStringArray);
int main(void) {
char cStringArray[5][512]={"","","","",""}; //Array of 5 Strings (char arrays) of 512 characters
function (cStringArray); //warning: incompatible pointer type
return 0;
}
How do I get rid of the warning? It works if I declare the Stringarray as char* cStringArray[5].