Objective
Implement a function that scans a string for the last occurrence of a character and returns a pointer to it.
Steps
$ strrchr("merge merge", 'e')
e
$ strrchr("git status", 'z')
(null)
$ strrchr("commit", '\0')
(no output)
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers
Standard C library
Implements the contract of a function from the standard C library.

Objective
Implement a function that scans a string for the last occurrence of a character and returns a pointer to it.
Steps
$ strrchr("merge merge", 'e')
e
$ strrchr("git status", 'z')
(null)
$ strrchr("commit", '\0')
(no output)
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers
Standard C library
Implements the contract of a function from the standard C library.

Tests
Run the tests to grade your code