C program to check whether a substring is present in a given string
In this program, we will learn how to check whether a substring is present in a string or not without using library function?
We are implementing a function named myStrStr() this function will return 1 if substring present in the string and return 0, if substring is not present in the string.
Program to check substring in a string in C
Output
need an explanation for this answer? contact us directly to get an explanation for this answer