Examveda

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

Answer: Option B


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings