(Solved) : P Holding String Would Set String Array Example Char P Printf Whats P S P Q41403863 . . .

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); //…