ExamVeda
Login
Home
This question belongs to C Program Arrays And Strings
Arrays and Strings
?

The library function used to find the last occurrence of a character in a string is

Answer & Solution
Correct Answer: Option D

Declaration: char *strrchr(const char *s, int c);

It scans a string s in the reverse direction, looking for a specific character c.

Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.