Question: Write c++ function to search substring in the str(string) and return the index from where it starts. DO NOT use any library functions except .length.

Write c++ function to search substring in the str(string) and return the index from where it starts. DO NOT use any library functions except .length. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
