I'm trying to pass a 2D array of char* into a function. I am getting this error:
"cannot convert 'char* (*)[2]' to 'char***' for argument '1' to 'int foo(char***)'"
Code:
int foo(char*** hi)
{
...
}
int main()
{
char* bar[10][10];
return foo(bar);
}