I have such an array:
const char arg_arr[][100] = {
"a",
"b",
"c",
"d",
};
and then I have such a method ParseCmdLine(const char *argv[]);
So, in order to pass my arg_arr I need to get pointer to it.
I try to invoke this method such way ParseCmdLine(*arg_arr) or like this ParseCmdLine(&arg_arr), but it doesn't work.
Question is - how to pass this arr as a pointer?


const char arg_arr[][100]andconst char *argv[]are incompatible. You can't convert the former to the latter; you need to rewrite the former.const char arg_arr[][100]andconst char *argv[]differ.char [][100]is an array of arrays of 100 chars.const char *argv[]is an array of pointers to const char.void ParseCmdLine(const char (*argv)[100]) {}