I want to hold user input strings in an array and be able to print it. Is there a way for me to hold string 1 in arr[0], string 2 in arr[1] and so on and so forth?
heres what Im thinking
int p=1, r=3, l=0;
char arr[255];
while(p <= r)
{
printf("Please enter string#%d: ",p);
scanf("%s", &arr[l]);
l++;
p++;
}