Question: C++ Pointers and C-Style Strings 7 THERFINDANY FUNCTION Write the function rFindAny().The function has two parameters: a const char s pointing to the first character
C++
Pointers and C-Style Strings

7 THERFINDANY FUNCTION Write the function rFindAny().The function has two parameters: a const char s pointing to the first character in a C-style string, and a const char * letters. Return the index of the last character in s that matches any letter inside letters. Return -1 if no letters match
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
