1.

The function strsp() is the complement of strcspn().(a) true(b) falseI got this question in homework.This interesting question is from String Operations topic in section String Operations in C of C

Answer»

The correct option is (a) true

Best EXPLANATION: Both strcspn() and strpbrk() perform the same function. Only STRSPN() the RETURN values DIFFER. The function strspn() is the complement of strcspn() .



Discussion

No Comment Found

Related InterviewSolutions