I want to iterate through **list_arg[].
I can't make this work, unless I try to iterate through it in another function, then I can do list_arg++.
int main(int argc, char *argv[]) {
char *three[] = {"Ver", NULL}
char *two[] = {"john", NULL};
char *one[] = {"Majka", NULL};
char **list_arg[] = { one, two, three, NULL};
while (**list_arg != NULL) {
printf("%s", **list_arg);
list_arg++; //invalid increase
//(*list_arg)++; iterates through one[] only.
//(**list_arg)++; iterates through *one[], aka "Majka" only.
}
return 0;
}