Question: is strstr a string function in c?
Answer: strstr is a C standard library string function as defined in string. ... strstr() has the function signature char * strstr(const char *haystack, const char *needle); which returns a pointer to a character at the first index where needle is in haystack, or NULL if not present.