Question: C++ - Pointers and C-style Strings 14THE CSTRRFIND FUNCTION Write the function cStrRFind(). The function has two parameters: a const char str, and a const
C++ - Pointers and C-style Strings

14THE CSTRRFIND FUNCTION Write the function cStrRFind(). The function has two parameters: a const char str, and a const char subs. Find the last location where subs is found in str (as an int). Return -1 if subs is not located in str. You may use pointer or array notation, but you cannot use any functions or classes from the standard library
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
