Vidyalelo
C Programming · Q128

Arrays and Strings

Programming · C Programming · question 128

Q128

What is the use of function char *strchr(ch, c)?

A.
return pointer to first occurrence of ch in c or NULL if not present
B.
return pointer to first occurrence of c in ch or NULL if not present
Answer
C.
return pointer to first occurrence of ch in c or ignores if not present
D.
return pointer to first occurrence of cin ch or ignores if not present

Answer: Option B

Solution

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