Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:55 pm
by answerhappygod
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
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