C++ Program to Find Substring in String

C++ Program to Find Substring in String

Here, we will get and learn to create a program to find substring in a string.

Program:

Output:

Enter a string: I am learning c++ from coderevise.com
Enter substring to search : c++
Sub-String found!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top