#include #include main() { int i, j, m, n, index; char P[1000], S[1000]; printf("Please enter the string P: "); gets(P); printf("Please enter the string S: "); gets(S); m = strlen(P); n = strlen(S); if (m