Strings on C related Questions and Answers


Question :   Which code from the given option return pointer to last occurrence of c in ch or NULL if not present?
1. char *strchr(ch, c)
2. char *strrchr(ch,
3. c) char *strncat(ch, c)
4. char *strcat(ch, c)
Answer :   2 - char *strrchr(ch,  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter