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
(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
This question was addressed to me by my college professor while I was bunking the class.
This key question is from String Operations topic in division String Operations in C of C