
Implement gm_strncmp, your own strncmp, which compares two null-terminated strings, but never looks at more than the first n bytes.
gm_strncmp("ab", "abc", 2)0gm_strncmp("ab", "abc", 3)negative valuestrncmp.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_strncmp, your own strncmp, which compares two null-terminated strings, but never looks at more than the first n bytes.
gm_strncmp("ab", "abc", 2)0gm_strncmp("ab", "abc", 3)negative valuestrncmp.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