Question: C++ 3 THE FINDLAST FUNCTION Write the function findLast(). The function has two parameters: a const char s1 pointing to the first character in a
C++

3 THE FINDLAST FUNCTION Write the function findLast(). The function has two parameters: a const char s1 pointing to the first character in a C-style string, and a const char s2. Return a pointer to the last appearance of s2 appearing inside s1 and nullptr (e) if s2 does not appear inside s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
