How would I make a pointer to:
char * values [x];
I’m trying to pass an array of char * to a pointer from outside the block of code, where x can by anything.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Pointer to a pointer can do what you want.
In the function definition :
In the function call :
You need to pass the address of the pointer to the function.