Objective
Implement a function that compares two null-terminated strings byte by byte and returns an integer reflecting their lexicographic relationship.
Steps
$ strcmp("hello", "hello")
0
$ strcmp("merge conflict on line one", "merge conflict on line two")
negative value
Expected files
Allowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Objective
Implement a function that compares two null-terminated strings byte by byte and returns an integer reflecting their lexicographic relationship.
Steps
$ strcmp("hello", "hello")
0
$ strcmp("merge conflict on line one", "merge conflict on line two")
negative value
Expected files
Allowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Tests
Run the tests to grade your code