Well, i have function:
void func(char*[]);
Then, i have some array:
char[100][20] array;
Next try to call that function would cause a compilation error:
func(array);
so, what would your next possible actions may be?
Well, i have function:
void func(char*[]);
Then, i have some array:
char[100][20] array;
Next try to call that function would cause a compilation error:
func(array);
so, what would your next possible actions may be?
The argument declaration char*[]
is an array of pointers, but you need to have it as a pointer to an array, i.e. char(*)[]
.