Question: please solve and explain all steps Task 1: Rightmost occurrence In this program(https://www.onlinegdb.com/tas/32618), a sample function strindex is given which has two parameters - char

![- char s[] and char t(). It returns the left most position](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f970b1b4c68_34566f970b1570cf.jpg)
Task 1: Rightmost occurrence In this program(https://www.onlinegdb.com/tas/32618), a sample function "strindex" is given which has two parameters - char s[] and char t(). It returns the left most position of tin s. You are going to complete the function "strindexr" which has two same parameters but returns the right most position of t in s. Return-1 if there is none. The main function is used to test your function. It will print out both the left and right most index of occurrence of pattern in line. 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
