I want to declare of array of pointers to arrays of char *.
When i compile the code, i got warnings:
warning: initialization of ‘const char *’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types]
This code works, but i know i do something wrong and i should not have any warnings by C compiler. How to declare it right?
const char *S6_ARR[] = {
"here",
"we"
};
const char *S7_ARR[] = {
"go",
"again"
};
const char *SHEET_HEADER_ARR[] = {
S6_ARR,
S7_ARR
};
int main()
{
...
}