i am wondering is there any way to set i-th or string in pointer array to local variable?
for example
char a = "string";
char b = "string2";
char *args[3];
args[0] = a;
args[1] = b;
args[2] = NULL;
therefore,
agrs = {"string","string2",NULL};
thanks!