Examveda

Which code from the given option return pointer to last occurrence of c in ch or NULL if not present?

A. char *strchr(ch, c)

B. char *strrchr(ch, c)

C. char *strncat(ch, c)

D. char *strcat(ch, c)

Answer: Option B


This Question Belongs to C Program >> Arrays And Strings

Join The Discussion

Related Questions on Arrays and Strings