Home » C Programming » Strings » Question
  1. Which pre-defined function returns a pointer to the last occurence of a character in a string?
    1. strfchr(s, c);
    2. strlchr(s, c);
    3. strchr(s, c);
    4. strrchr(s, c);
    5. None of these
Correct Option: D

strrchr(s, c);



Your comments will be displayed only after manual approval.