Program 18
Write a function called first_diff that is given two strings and returns the first location in which the strings differ. If the strings are identical, it should return -1.
Program:
Output: