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

C++ - Pointers and C-style Strings 14THE CSTRRFIND FUNCTION Write the function

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!