
Implement gm_strcspn, your own strcspn, which scans a string from the beginning and returns the index of the first character that appears in a given reject set.
gm_strcspn("grep found nothing", "xyz")18gm_strcspn("branch", "aeiou")2gm_strcspn("", "abc")0strcspn.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_strcspn, your own strcspn, which scans a string from the beginning and returns the index of the first character that appears in a given reject set.
gm_strcspn("grep found nothing", "xyz")18gm_strcspn("branch", "aeiou")2gm_strcspn("", "abc")0strcspn.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