p is holding a string, how would I set that string in an array?
example:
char *p;
printf(“whats in p: ‘%s'”,p); //<- this prints the string butI want it in an array
Expert Answer
Answer to p is holding a string, how would I set that string in an array ? example: char *p; printf(“whats in p: ‘%s'”,p); //…