Intel Corporation interview question

Implement str sompare in c