I am trying to use the execvp command and require an array of pointers for the 2nd argument.
I am storing the arguments in an array of strings. How would I turn that array of strings into an array of pointers?
Also, how can I terminate the array of pointers with a null pointer.
I was using the array of strings in the execvp 2nd argument but that was throwing errors and I was trying to make the last entry of the array a null pointer, using strcat and strcpy but both didn't work.