Practice · 2 of 4
my_strcmp
CHALLENGE
Difficulty: beginner+25 XP
Implement int my_strcmp(const char* a, const char* b) returning negative/zero/positive like strcmp, without calling it.
Press Submit to check your solution.
Back to lesson: Practice: Custom String Functions