
Implement gm_memcmp, your own memcmp, which compares the first n bytes of two memory blocks and returns an integer whose sign reflects which block is larger.
gm_memcmp("docker", "docker", 6)0gm_memcmp("git push", "git pull", 8)positive valuegm_memcmp("ab\0cd", "ab\0ce", 5)negative valuememcmp.c<stddef.h>defines size_tStandard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Implement gm_memcmp, your own memcmp, which compares the first n bytes of two memory blocks and returns an integer whose sign reflects which block is larger.
gm_memcmp("docker", "docker", 6)0gm_memcmp("git push", "git pull", 8)positive valuegm_memcmp("ab\0cd", "ab\0ce", 5)negative valuememcmp.c<stddef.h>defines size_tStandard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Memory will appear here