Write a function to accept two strings as arguments.

c) Write a function to accept two strings as arguments. The function should return the index of the
second string in the first string, if it exists and -1 otherwise. Don’t use any library routines related
to strings.

Leave a Reply