
Implement gm_strchr, your own strchr, which returns a pointer to the first occurrence of a character in a string.
gm_strchr("rebase main", 'm')maingm_strchr("git status", 'z')(null)gm_strchr("commit", '\0')strchr.c<stddef.h>defines NULLStandard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Implement gm_strchr, your own strchr, which returns a pointer to the first occurrence of a character in a string.
gm_strchr("rebase main", 'm')maingm_strchr("git status", 'z')(null)gm_strchr("commit", '\0')strchr.c<stddef.h>defines NULLStandard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Memory will appear here