I can't see your screen from here. What input did you give, and what output did you get? What output did you expect?
Have you tried adding any debug code to make sure what you think is happening really is happening? So for example after the first
Code:
printf("Input a string: ");
scanf("%s",&string[s]);
does string[0] contain what you expect? You might try adding something like:
Code:
printf("Stored '%s' in string[s=%d]\n",string[s],s);
to verify that the correct string is stored in the correct place.