I am really weak in strings and character array(wrong op)


i am unable to figure out what i missed and did wrong

You should check the corresponding characters of string

im srry but i didnt get that

please will tell me which logic is wrong ??

You should check the index of first string to index of second string correspondingly.