Subject not found.
1.

Is there any function declared as strstr()?(a) true(b) falseI had been asked this question in an interview.Asked question is from String Operations topic in portion String Operations in C of C

Answer»

Correct answer is (a) true

The best I can EXPLAIN: This function returns a POINTER to the first OCCURRENCE in s1 of any of the entire sequence of CHARACTERS specified in s2, or a null pointer if the sequence is not present in s1.

char *STRSTR(const char *s1, const char *s2)



Discussion

No Comment Found

Related InterviewSolutions