strstr() Function In C

strstr() Function In C

C programming language provides the strstr() function which is used to search a string in a string. The first occurrence of the string location is returned as a pointer location. This operation is also called searching a needle in a haystack. The search operation ends with the end of the string which consists of \0 … Read more