How can I compare two strings without using strcmp() function?