Samsung Electronics interview question

write down comparison function of two given strings in C language