Vidyalelo
C Programming · Q97

Arrays and Strings

Programming · C Programming · question 97

Q97

Which among the given options is the right explanation for the statement size_t strcspn(c, s)?

A.
return length of prefix of s consisting of characters not in c
B.
return length of prefix of s consisting of characters present in c
C.
return length of prefix of c consisting of characters not in s
Answer
D.
return length of prefix of c consisting of characters present in s

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board