strstr - locate a substring ( needle ) in a string ( haystack ). Try not to use standard library string functions for this question. Returns the index of the first occurrence of needle in haystack, or ...
Another question which belongs to the category of questions which are intentionally stated vaguely. Expectation is that you will ask for correct clarification or you will state your assumptions before ...