C strstr Function

C strstr function example

The C strstr function is a String Function, which returns a pointer to the first occurrence of a string in the given string. The syntax of the strstr in C Programming language is void *strstr(const char *str, const char *str_to_look); str: A valid string str_to_look: String value that you want to search inside str strstr in C Language … Read more