strrchr is just the reverse index function. It didn't need that int i, or the i++ < n check at all.
strrchr is just the reverse index function. It didn't need that int i, or the i++ < n check at all.

duckinator/dux,duckinator/dux,duckinator/dux