Hi guys
Its been a while since i did some see
I just want to let the user enter in a few strings in store them in an array of pointers. Which each pointer pointing to the begining of a different string.
Its been a while and i barley remember how. Here is what i got some how but it doesnt seem to work. Any suggestions?
Thanks
Code:#include<stdio.h> #include<stdlib.h> int main (){ char *pointer[3]; printf("Please enter the string you want to deal with"); scanf("%s"pointer[0]); printf("This is what we just stored there %s \n\n",pointer[0]); return 0; }